dev@glassfish.java.net

Re: V3 deployment problem

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 16 Jul 2008 19:44:01 -0700

Sahoo, yes, you are right, jts was added to the glassfish distro while
CORBA wasn't yet OSGI-ed (Harsha, is there a schedule for this?).

Sorry that I didn't send a note to the team (I didn't expect anybody to
use that distro). :(.

Regards,
-marina

Mahesh Kannan wrote:
> Sahoo wrote:
>> I remember Marina was saying jts depends on some CORBA implementation
>> jars which were not OSGied.
> Yes.
>> If we have to immediately get this working, my suggestion would be to
>> temporarily wrap (repackage) them as OSGi bundles in v3/external/
>> folder and use the repackaged artifacts. There are plenty of examples
>> in that folder.
> OK. Will try that (tomorrow).
>
> BTW, I heard that the toplink tests are passing. wont they be using jts?
>
> Thanks,
> --Mahesh
>>
>> BTW, I do believe Kin-Man is using glassfish bundle when he probably
>> can use just the web bundle.
>>
>> Thanks,
>> Sahoo
>>
>> Mahesh Kannan wrote:
>>> Sahoo wrote:
>>>> Are you by any chance using glassfish bundle instead of web bundle?
>>>> What kind of application are you deploying?
>>>>
>>>> Mahesh is aware of it and addressing it. AFAIK, this should not
>>>> appear when you use web (i.e. distributions/target/web.zip) bundle.
>>> I added the followig to felix/config/config.properties
>>>
>>> org.omg.CosTSPortability; \
>>> org.omg.CORBA.TSIdentification
>>>
>>> But now I have:
>>>
>>> INFO: ERROR: Error starting
>>> file:/space/v3/jul09/glassfish/modules/jts-10.0-SNAPSHOT.jar
>>> (org.osgi.framework.BundleException: Unresolved package in bundle
>>> 22: package; (package=com.sun.corba.ee.impl.corba))
>>> Jul 10, 2008 12:13:02 AM SEVERE: org.osgi.framework.BundleException:
>>> Unresolved package in bundle 22: package;
>>> (package=com.sun.corba.ee.impl.corba)
>>>
>>> I need to look into one of the following to see if they export
>>> com.sun.corba.ee.impl.corba
>>>
>>> <dependency>
>>> <groupId>com.sun.corba</groupId>
>>> <artifactId>glassfish-corba-omgapi</artifactId>
>>> <version>1.0</version>
>>> <scope>provided</scope>
>>> </dependency>
>>> <dependency>
>>> <groupId>com.sun.corba</groupId>
>>> <artifactId>glassfish-corba-peorb</artifactId>
>>> <version>1.0</version>
>>> <scope>provided</scope>
>>> </dependency>
>>>
>>>
>>> --Mahesh
>>>
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Kin-man Chung wrote:
>>>>> I checked out a fresh V3. It built and started without problem, but
>>>>> I deployed an app, I got the following error. Anyone got any idea?
>>>>> Thanks.
>>>>>
>>>>> -Kin-man
>>>>>
>>>>> [#|2008-07-09T18:13:36.266-0700|INFO|GlassFish10.0|org.jvnet.hk2.osgiadapter|_ThreadID=14;_ThreadName=Thread-5;org.glassfish.transaction.jta
>>>>> [8];|Started bundle org.glassfish.transaction.jta [8]|#]
>>>>>
>>>>> [#|2008-07-09T18:13:36.325-0700|SEVERE|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-5;|WebModule[]StandardWrapper.Throwable
>>>>>
>>>>> com.sun.enterprise.module.ResolveError: Failed to start
>>>>> org.glassfish.transaction.jts(JTS Implementation for
>>>>> Glassfish):10.0.0.SNAPSHOT
>>>>> at
>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:112)
>>>>>
>>>>> at
>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:121)
>>>>>
>>>>> at
>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl.java:256)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>>>>> at
>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
>>>>> at
>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>
>>>>> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:229)
>>>>> at java.util.AbstractList$Itr.next(AbstractList.java:345)
>>>>> at
>>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.initDelegates(JavaEETransactionManagerSimplified.java:1379)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.postConstruct(JavaEETransactionManagerSimplified.java:147)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>>>> at
>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>> at
>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>
>>>>> at
>>>>> org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:511)
>>>>> at
>>>>> com.sun.web.server.J2EEInstanceListener.init(J2EEInstanceListener.java:131)
>>>>>
>>>>> at
>>>>> com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:106)
>>>>>
>>>>> at
>>>>> org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1201)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1045)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4950)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5347)
>>>>>
>>>>> at com.sun.enterprise.web.WebModule.start(WebModule.java:346)
>>>>> at
>>>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1499)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1179)
>>>>> at
>>>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:963)
>>>>> at
>>>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1499)
>>>>>
>>>>> at
>>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1179)
>>>>> at
>>>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:550)
>>>>>
>>>>> at
>>>>> org.apache.catalina.startup.Embedded.start(Embedded.java:945)
>>>>> at
>>>>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:610)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>>>> at
>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>
>>>>> at
>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>> at
>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>
>>>>> at
>>>>> org.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:766)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:411)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:274)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:286)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:114)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:238)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:155)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:145)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:620)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:551)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:82)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>>>>>
>>>>> at
>>>>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
>>>>> Caused by: org.osgi.framework.BundleException: Unresolved package
>>>>> in bundle 22: package; (package=org.omg.CosTSPortability)
>>>>> at
>>>>> org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>>>>> at
>>>>> org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>>>>> at
>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>>> at
>>>>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
>>>>> at
>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:109)
>>>>>
>>>>> ... 59 more
>>>>> |#]
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>