geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Patel (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1454) The Geronimo WTP adapter picks the wrong JDK
Date Wed, 11 Jan 2006 20:10:21 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1454?page=comments#action_12362490 ] 

Sachin Patel commented on GERONIMO-1454:
----------------------------------------

The following exception occurs when running deployment API in 1.5 against geronimo 1.0 running
on 1.4 jre.

ava.lang.Exception: Error unmarshaling return; nested exception is:
        java.lang.ClassNotFoundException: org.apache.geronimo.kernel.GBeanNotFoundException
(no security manager: RMI class loader disabled)
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.lang.ClassNotFoundException: org.apache.geronimo.kernel.GBeanNotFoundException
(no security manager: RMI class loader disabled)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:969)
        at org.apache.geronimo.kernel.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:339)
        at org.apache.geronimo.kernel.jmx.KernelDelegate.getGBeanState(KernelDelegate.java:121)
        at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:64)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.kernel.GBeanNotFoundException
(no security manager: RMI class loader disabled)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
        at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
        at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
        ... 8 more
 
        at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doFail(GeronimoServerBehaviour.java:279)
        at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doDeploy(GeronimoServerBehaviour.java:235)
        at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBehaviour.java:200)
        at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBehaviour.java:188)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:658)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:738)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:596)
        at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:799)
        at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
        at org.eclipse.wst.server.core.internal.ServerWorkingCopy.publish(ServerWorkingCopy.java:520)
        at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

> The Geronimo WTP adapter picks the wrong JDK
> --------------------------------------------
>
>          Key: GERONIMO-1454
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1454
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>  Environment: Eclipse: 3.1.1 (Build ID: M20050929-0840)
> Java SE: 1.5.0_06-b05 (aka 5.0)
> OS: Linux ubuntu-abysssix 2.6.12-10-686-smp
> eclipse-plugin: trunk
> build cmd: maven build (without any Java VM option)
>     Reporter: Daniel S. Haischt

>
> If starting Eclipse with a 5.x JDK, the Geronimo WTP-Adapter picks the 5.0 JDK as its
runtime environment, even if the adapter and each corresponding project was configured to
*explicitly* use a Java 2 SE v1.4.x.
> Unfortunatly if using 5.x as its runtime env, Geronimo (i.e. the adapter) obviously fails
to deploy a J2EE app.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message