users@glassfish.java.net

Re: Mac OS-X: Attach glassfish source to NetBeans IDE?

From: Scott Balmos <sbalmos_at_fastmail.fm>
Date: Tue, 21 Dec 2010 19:26:31 -0500

On 12/21/2010 6:56 PM, Erik Johnson wrote:
> Hi,
>
> I am trying to get communication going between a client implemented in
> an environment other than Java, and some web services implemented on
> the Glassfish server (on Mac OSX).
>
> As best as I can tell, the Java end of things is working as expected
> (J2EE Tutorial example helloservices class answers Java client as
> expected, and it tests as expected via the Glassfish tester page you
> can get from the admin port).
>
> But when called from my third party library, the arguments to my
> function are somehow getting dropped, and I am trying to understand
> exactly what's going wrong. That is, it does actually call into my
> Java function, and I get a valid SOAP response, but the function gets
> called with null where it should be passing a string.
>
I would, at the very least, stick a sniffer of some sort on and capture
the actual SOAP request coming from your client into your service.
Confirm that the arguments actually are being passed over the wire. If
they're not, obviously it's not GF's problem. :)
> So, I am trying to figure out how to get the Glassfish source code
> attached to NetBeans IDE so I can stop in my class and look at things
> up the stack and try to figure out where things went wrong.
>
> I installed Glassfish by following directions here:
> http://download.oracle.com/javaee/6/tutorial/doc/gexaj.html
>
> and then downloaded the whole glassfish distribution from here:
> http://glassfish.java.net/downloads/3.0.1-final.html
>
> The latter leaves me a directory full of stuff that has many, many
> jars, but I'm not seeing src.jar or src.zip (the sort of thing I would
> try to point NetBeans at for attaching source).
>
> Anybody have any ideas?
>
> Thanks,
> -ej
--S