users@glassfish.java.net

Re: HELP...Does Glassfish *really* work?

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Jan 2009 14:37:58 PST

Thank you Jacob. I had a smoke and calmed down a bit.

I've attached a new zip containing my latest iteration (src's) as well as the server.log from a single run.

After deployment, the service is up and available. When I click test from the admin console in GF, the expect text box appears and allows input and it displays the expected message, except that testBean is *always* null, so the TestBean Spring bean is either 1) not getting loaded or 2) the testBean attribute is not getting injected. That's a completely different problem pointed to by the link in my original post.

Glassfish is being launched by IDEA like this:

/Developer/Applications/glassfish/bin/asadmin start-domain domain1

There are 2 console windows after launching called "SQL Console" (Don't ask me why) that displays this:

/Developer/Applications/glassfish/bin/asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to /Developer/Applications/glassfish/domains/domain1/logs/server.log.
Redirecting output to /Developer/Applications/glassfish/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun Java System Application Server 9.1_02 (build b04-fcs)] with its configuration and logs at: [/Developer/Applications/glassfish/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services Web ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://sam-loys-computer-2.local:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.

Connected to server
[2009-01-13 04:32:17,782] Facet Web: Facet is being deployed, please wait...
[2009-01-13 04:32:22,917] Facet Web: Facet is deployed successfully

The other is called Glassfish Log and is *always* empty...useless as far as I can tell.

I will try to launch it as you suggested and see what happens.

Thanks again,

Sam
[Message sent by forum member 'drtubbygooberman' (drtubbygooberman)]

http://forums.java.net/jive/thread.jspa?messageID=325857