tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Davidson" <stephen.david...@etcc.com>
Subject Weird Classpathing issue
Date Sat, 27 Feb 2010 23:08:23 GMT
Greetings.

I am trying to deploy a combo Jetty/OpenEJB system (for internal
testing).  What I am trying for is light weight testing of some of the
Web Pages w/o needing a "full up" system.

Any ideas why this extra clients stuff is being attempted???

-Steve

Extract from my pom;
  <systemProperty>
      <name>java.naming.factory.initial</name>
 
<value>org.apache.openejb.client.LocalInitialContextFactory</value>
  </systemProperty>
  <systemProperty>
    <name>openejb.deployments.classpath.include</name>
    <value>.*services-${olcsc.version}.*</value>
  </systemProperty>
  <systemProperty>
    <name>openejb.deployments.classpath.exclude</name>
    <value>.*(itext|ant|xalan|core|jetty).*</value>
  </systemProperty>



Maven initialization from jetty:run-exploded (directory path "hidden"
due to corporate policy);
INFO - Using
'openejb.deployments.classpath.include=.*services-2.5-488-PREVIEW-1.0.6.
*'
INFO - Using
'openejb.deployments.classpath.exclude=.*(itext|ant|xalan|core|jetty).*'
INFO - Inspecting classpath for applications: 44 urls. Consider
adjusting your exclude/include.  Current settings:
openejb.deployments.classpath.exclude='.*(itext|ant|xalan|core|jetty).*'
,openejb.deployments.classpath.include='.*services-2.5-488-PREVIEW-1.0.6
.*'
INFO - Found EjbModule in classpath:
{pathToRepository}services\2.5-488-PREVIEW-1.0.6\services-2.5-488-PREVIE
W-1.0.6.jar
INFO - Found ClientModule in classpath:
{pathToRepository}\org\apache\ant\ant-launcher\1.7.1\ant-launcher-1.7.1.
jar
INFO - Found ClientModule in classpath:
{pathToRepository}\com\lowagie\itext\1.3\itext-1.3.jar
INFO - Found ClientModule in classpath: ${pathToWebProject}\target\web
-2.5-488-PREVIEW-1.0.6\WEB-INF\lib\itext-1.3.jar
INFO - Found ClientModule in classpath:
{pathToRepository}\ant\ant\1.6.5\ant-1.6.5.jar
INFO - Found ClientModule in classpath:
{pathToRepository}\org\eclipse\jdt\core\3.1.1\core-3.1.1.jar
INFO - Found ClientModule in classpath:
{pathToRepository}\xalan\xalan\2.5.1\xalan-2.5.1.jar
INFO - Found ClientModule in classpath:
{pathToRepository}\org\mortbay\jetty\start\6.1.11\start-6.1.11.jar
INFO - Found ClientModule in classpath: ${pathToWebProject}\target\web
-2.5-488-PREVIEW-1.0.6\WEB-INF\lib\xalan-2.5.1.jar
INFO - Searched 44 classpath urls in 2875 milliseconds.  Average 65
milliseconds per url.

[snip of application Ejbs deploying ]
INFO - Undeploying app: classpath.ear
ERROR - Application could not be deployed:  classpath.ear
org.apache.openejb.OpenEJBException: Creating application failed:
classpath.ear:
 ParsedName{path=openejb/client/itext-1.3/comp/env, component=env}
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembl
er.java:666)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembl
er.java:449)
        at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Asse
mbler.java:367)
        at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at
org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
        at
org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialCo
ntextFactory.java:71)
        at
org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialCo
ntextFactory.java:53)
        at
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(L
ocalInitialContextFactory.java:42)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:175)
        at
org.mortbay.jetty.plus.webapp.EnvConfiguration.createEnvContext(EnvConfi
guration.java:50)
        at
org.mortbay.jetty.plus.webapp.EnvConfiguration.configureWebApp(EnvConfig
uration.java:103)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1
217)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513
)
        at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
        at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginW
ebAppContext.java:110)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
va:152)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
rCollection.java:156)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
va:152)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130
)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.jav
a:132)
        at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.
java:371)
        at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.jav
a:307)
        at
org.mortbay.jetty.plugin.Jetty6RunWarExploded.execute(Jetty6RunWarExplod
ed.java:163)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:453)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:513)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:483)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:331)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:292)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: javax.naming.NameAlreadyBoundException:
ParsedName{path=openejb/client/itext-1.3/comp/env, component=env}
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:96)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:90)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:90)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:90)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:90)
        at
org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
        at
org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:29
5)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembl
er.java:618)
        ... 55 more
2010-02-27 16:58:29.308::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.


Mime
View raw message