Friday, August 29, 2008

Will it load?

After thinking about the Websphere errors I got yesterday, I thought about getting the Rational Developer from IBM - I have a developer's research ID and should be able to get a development environment for testing setup and loading the erroneous code. But, that may also be a big waste of time... Not sure, I'll keep it in mind though, but I really don't want to waste a few days setting up another development environment on top of what I already have. And, it may cause conflicts...

I went ahead and brought up Eclipse and tried a simple import of the EAR (I already know things aren't that easy, this is a J2EE app and it requires additional stuff like a database connection pool and additional JARs to properly function). And sure enough, it won't even import, bombing out during the import with a cryptic error on a FILE NOT FOUND but with no indication of what is not found. Here is the Glassfish log for the attempted run:
[#|2008-08-29T10:26:42.596-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

[#|2008-08-29T10:26:45.596-0500|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''|#]

[#|2008-08-29T10:26:45.596-0500|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''|#]

[#|2008-08-29T10:28:25.786-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;C:\Documents and Settings\rcbp010\Local Settings\Temp\s1astempdomain1server-1990537853\SUN_cbci_app.ear;|ADM1006:Uploading the file to:[C:\Documents and Settings\rcbp010\Local Settings\Temp\s1astempdomain1server-1990537853\SUN_cbci_app.ear]|#]

[#|2008-08-29T10:28:25.786-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;C:\Documents and Settings\rcbp010\Local Settings\Temp\s1astempdomain1server-1990537853\SUN_cbci_app.ear;|ADM1006:Uploading the file to:[C:\Documents and Settings\rcbp010\Local Settings\Temp\s1astempdomain1server-1990537853\SUN_cbci_app.ear]|#]

[#|2008-08-29T10:28:35.614-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=19;_ThreadName=Thread-88;|LDR5202:Exception in EJBClassLoader
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
    at java.io.File.getCanonicalPath(File.java:559)
    at com.sun.enterprise.loader.EJBClassLoader$1.run(EJBClassLoader.java:435)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.loader.EJBClassLoader.findResource0(EJBClassLoader.java:405)
    at com.sun.enterprise.loader.EJBClassLoader.findResource(EJBClassLoader.java:484)
    at java.lang.ClassLoader.getResource(ClassLoader.java:977)
    at java.lang.ClassLoader.getResource(ClassLoader.java:972)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoader.java:799)
    at com.sun.xml.rpc.spi.JaxRpcObjectFactory.newInstance(JaxRpcObjectFactory.java:131)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.(JaxRpcRICodegen.java:134)
    at com.sun.enterprise.webservice.codegen.JaxRpcCodegenFactory.getAdapter(JaxRpcCodegenFactory.java:63)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:593)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:290)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:319)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:240)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
|#]

[#|2008-08-29T10:28:35.614-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=19;_ThreadName=Thread-88;|LDR5202:Exception in EJBClassLoader
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
    at java.io.File.getCanonicalPath(File.java:559)
    at com.sun.enterprise.loader.EJBClassLoader$1.run(EJBClassLoader.java:435)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.loader.EJBClassLoader.findResource0(EJBClassLoader.java:405)
    at com.sun.enterprise.loader.EJBClassLoader.findResource(EJBClassLoader.java:484)
    at java.lang.ClassLoader.getResource(ClassLoader.java:977)
    at java.lang.ClassLoader.getResource(ClassLoader.java:972)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoader.java:799)
    at com.sun.xml.rpc.spi.JaxRpcObjectFactory.newInstance(JaxRpcObjectFactory.java:131)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.(JaxRpcRICodegen.java:134)
    at com.sun.enterprise.webservice.codegen.JaxRpcCodegenFactory.getAdapter(JaxRpcCodegenFactory.java:63)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:593)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:290)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:319)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:240)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
|#]

[#|2008-08-29T10:28:39.333-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-88;|deployed with moduleid = SUN_cbci_app|#]

[#|2008-08-29T10:28:39.333-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-88;|deployed with moduleid = SUN_cbci_app|#]
Curious, there are two entries for each entry in the log... were there somehow two instances of the server running??? hmmm....