Hello,
i have a question.I try to establish a connection from a jenkins-UI
to  a JBoss-Server(JBoss-5.1.0-default), but i have this Error-
message:
log4j:WARN No appenders could be found for logger
(org.nabucco.testautomation.mgmt.launcher.TestautomationLauncher).
log4j:WARN Please initialize the log4j system properly.
org.nabucco.testautomation.mgmt.launcher.LauncherException: Could not
connect to Server
    at
org.nabucco.testautomation.mgmt.launcher.RemoteTestConfigurationLauncher.<init>(RemoteTestConfigurationLauncher.java:
191)
    at
org.nabucco.testautomation.mgmt.launcher.TestautomationLauncher.execute(TestautomationLauncher.java:
103)
    at
org.nabucco.testautomation.jenkins.plugin.TestautomationBuilder.perform(TestautomationBuilder.java:
202)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:
19)
    at hudson.model.AbstractBuild
$AbstractRunner.perform(AbstractBuild.java:703)
    at hudson.model.Build$RunnerImpl.build(Build.java:178)
    at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
    at hudson.model.AbstractBuild
$AbstractRunner.run(AbstractBuild.java:473)
    at hudson.model.Run.run(Run.java:1410)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:
88)
    at hudson.model.Executor.run(Executor.java:238)
Caused by:
org.nabucco.framework.base.facade.component.connection.ConnectionException:
Error creating JBoss connection.
    at
org.nabucco.framework.base.facade.component.connection.JBossConnection.initContext(JBossConnection.java:
57)
    at
org.nabucco.framework.base.facade.component.connection.Connection.<init>(Connection.java:
58)
    at
org.nabucco.framework.base.facade.component.connection.JBossConnection.<init>(JBossConnection.java:
41)
    at
org.nabucco.framework.base.facade.component.connection.ConnectionFactory.createConnection(ConnectionFactory.java:
105)
    at
org.nabucco.testautomation.mgmt.launcher.RemoteTestConfigurationLauncher.<init>(RemoteTestConfigurationLauncher.java:
171)
    ... 11 more
Caused by: javax.naming.NoInitialContextException: Cannot instantiate
class: org.jnp.interfaces.NamingContextFactory
    at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:
657)
    at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at
org.nabucco.framework.base.facade.component.connection.JBossConnection.initContext(JBossConnection.java:
55)
    ... 15 more
Caused by: java.lang.ClassNotFoundException:
org.jnp.interfaces.NamingContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at
winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:
83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:
46)
    at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:
654)
    ... 19 more
19.03.2012 11:24:24 hudson.model.Run run
INFO: org.nabucco.framework.base.test #18 main build action completed:
SUCCESS
^C19.03.2012 11:39:47 winstone.Logger logInternal
INFO: JVM is terminating. Shutting down Winstone

Although i have put the jnp-client in the Lib.
What can i do to solve this problem?

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/connect-to-JBoss-Server-tp4484592p4484592.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

Reply via email to