Status of the builds

View: New views
11 Messages — Rating Filter:   Alert me  

Status of the builds

by Bhakti Mehta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is a status of the v3 builds
The glassfish-v3 http://hudson.sfbay/view/GFv3/job/glassfish-v3/ is now
blue
The quicklooks http://hudson.sfbay/view/GFv3/job/v3-quicklook/ are
*_passing._*
Dev builds http://hudson.sfbay/job/glassfish-v3-devbuild/ and
http://hudson.sfbay/job/v3-dev-builds-quicklook/ are blue

The following problems occurred and were resolved to get the build to
work :

1. 401 authorization issues:
http://hudson.sfbay/view/GFv3/job/javaee-api-repackaging-Sahoo/10/console 
builds javaee-api and publishes out the artifacts.
There were issues related to 401 authorization which is resolved by
adding the repository id. The artifacts are pushed to an internal
staging repository rator.sfbay from where they get deployed to external
repos.
*Solution:* So if you have a job that deploys to rator. You need to have
mirror-glassfish-repository as an downstream project

2. Concurrency issues
Once the javaee jars get pushed out the main v3 build gets kicked in, we
ran into multiple issues there was concurrency as SimpleDateFormat is
not threadsafe.  There was another issue with forked processes failing
to exec on solaris.
Thanks to Kohsuke for all his help with these issues.

3. Failures in QL
Next the quicklooks get kicked in. We had failures in quicklooks due to
jspimpl needing to be built with 0.3.8 of hk2. Thanks to Kin-Man for
updating that.

4. Warnings on starting server
We still see warnings on starting the server and I see another thread by
Hong about that but that does not impact the build or quicklooks in anyway.

Arun was trying to push the jruby but has some issues which need to be
addressed regarding the version of jruby. He can follow up with more
details

5.  Network slow
There are issues with the network being slow and that was causing the
v3-devbuild to timeout and v3-dev-quicklooks to fail. We increased the
number of apache processes from 150 to 300 on wsinterop.sfbay
We are trying to see if we can get  some data from the webserver forks
based on the monitoring data we have obtained.
I am also trying to bypass the wsinterop machine and see how it will
help speeden our builds.
Finally we are also discussing about setting up Nexus but that needs to
be setup internally and externally so that still needs to be figured.

Please do not make commits and expect the build team to fix all the
issues. It would be deeply appreciated if you could communicate to us
(build team and module leads) ahead of time if there are major changes
to versions especially since some components are built outside the v3
workspace and have meetings with the module leads to lead to resolution
on these changes.

Any other suggestions to better improve this process of checkin will be
appreciated.

Regards,
Bhakti


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


V3 deployment problem

by Kin-man Chung :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: dev-help@...


Re: V3 deployment problem

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

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@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: V3 deployment problem

by Mahesh Kannan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: V3 deployment problem

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I remember Marina was saying jts depends on some CORBA implementation
jars which were not OSGied. 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.

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@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: V3 deployment problem

by Mahesh Kannan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: V3 deployment problem

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?
>
I don't think the tests we are running test JTS functionality. More
over, I am not aware of anyone testing glassfish bundle, only the web
bundle is being tested.

Thanks,
Sahoo

> 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.CosTSPo