Hi Emil,
guess this is because of OSGi classloading. What exactly needs to be
loaded to get the shell up?

/peter

1169 [Framework Event Dispatcher] INFO  [undefined]  - FrameworkEvent ERROR
org.osgi.framework.BundleException: Exception in
com.waybuddies.server.database.internal.Activator.start() of bundle
com.waybuddies.server.database_neo.
       at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)
       at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
       at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
       at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
       at 
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1037)
       at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
       at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
       at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
       at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
       at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
       at 
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
Caused by: java.lang.IllegalStateException: Can't start remote neo
shell: java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
       java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is:
       java.lang.ClassNotFoundException:
org.neo4j.util.shell.ShellServer (no security manager: RMI class
loader disabled)
       at org.neo4j.api.core.EmbeddedNeo.enableRemoteShell(EmbeddedNeo.java:191)
       at 
com.waybuddies.server.database.internal.Activator.start(Activator.java:36)
       at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
       at java.security.AccessController.doPrivileged(Native Method)
       at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
       ... 10 more

On 6/7/07, Emil Eifrem <[EMAIL PROTECTED]> wrote:
On 6/7/07, Peter Neubauer <[EMAIL PROTECTED]> wrote:
> Well, upon
>                 neo = new EmbeddedNeo( MyRelationshipTypes.class, 
"runner/persistence/neo");
>                 Map<String, Serializable> shellProperties = 
Collections.emptyMap();
>                 neo.enableRemoteShell( shellProperties );
> I am never progressing beyond that point, the threat is just suspended
> and the code after this is not executed. There is a Thread "RMI TCP
> Accept-1337" created though.

Hmm. Seems like it stalls before it binds to the port. Can you send us
the relevant parts of a thread dump?

--
Emil Eifrém, CEO [EMAIL PROTECTED]
Neo Persistence AB, www.neopersistence.com
Cell: +46 733 462 271 | US Cell: 206 403 8808
_______________________________________________
Neo mailing list
User@lists.neo4j.org
http://lists.neo4j.org/mailman/listinfo/user


_______________________________________________
Neo mailing list
User@lists.neo4j.org
http://lists.neo4j.org/mailman/listinfo/user

Reply via email to