eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

deployment fails for connector samples #8174

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

Build used: SDK b03 build47. JDK : 1.6.0_13

In SDK b03, build47, on solaris sparc, I tried to execute the connector samples in the CLI ( ant) mode. I configured the samples environment, and started the domain.

Edited the ear_dir/mailconnector-ejb/src/conf/ejb-jar.xml, and replaced the serverName,userName and password entries, with the actual mail-server name ( mail-sfbay.sun.com), and user accountname and password.

From the dir (as_install)/samples/javaee6/connectors/apps/mailconnector/mailconnector-ear dir issued the "ant all" command.

The deployment of the sample failed with a java.lang.NullPointerException.

I have attached the log from the ant task.

Environment

Operating System: All Platform: All

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented shaline@java.net said: Created an attachment (id=2731) log file from ant task

glassfishrobot commented 15 years ago

@glassfishrobot Commented @sivakumart said: Shaline: Please provide the server.log

Transferring to Jagadish and requesting him to investigate this further. Thanks.

glassfishrobot commented 15 years ago

@glassfishrobot Commented @h2002044 said: "classpath" (path id="classpath") specified in individual component (ejb / web) seems to override the classpath specified globally. Same setup was working fine before.

Instead of using classpath, using "extra.classpath" will resolve the issue.

glassfishrobot commented 15 years ago

@glassfishrobot Commented @h2002044 said: Checking in mailconnector-ejb/build.xml; /cvs/glassfish-samples/ws/javaee6/connectors/apps/mailconnector/mailconnector-ear/mailconnector-ejb/build.xml,v <-- build.xml new revision: 1.2; previous revision: 1.1 done Checking in mailconnector-war/build.xml; /cvs/glassfish-samples/ws/javaee6/connectors/apps/mailconnector/mailconnector-ear/mailconnector-war/build.xml,v <-- build.xml new revision: 1.2; previous revision: 1.1 done

glassfishrobot commented 15 years ago

@glassfishrobot Commented shaline@java.net said: Verified in promoted b03b

glassfishrobot commented 15 years ago

@glassfishrobot Commented File: ant.log Attached By: shaline@java.net

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8174

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by shaline@java.net

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as fixed on Wednesday, May 20th 2009, 4:00:19 am