Re: [nbdev] SOA Composite App not deploying

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

Parent Message unknown Re: [nbdev] SOA Composite App not deploying

by Dmitry Lipin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Roger,

It`s worth to ask this question at nbentpack@... mailiing list.

Dmitry

Roger Martin wrote:

> Hi,
>
> April 14 & May 15 netbeans nightly build running on a Vista 64 bit
> machine and glassfish
> glassfish-installer-v2.1-b24d-nightly-01_apr_2008
>
> 1) Whether I try a new Composite App or try the
> TravelReservationService example the result is the same:
> C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\nbproject\build-impl.xml:212:
> null
> which is the last line of the Ant target:
>    <target name="run-jbi-deploy" depends="jbi-build">
>       <property name="j2ee.server.instance" value=""/>
>       <loadproperties
> srcFile="${basedir}/nbproject/private/private.properties"/>
>       <jbi-deploy-service-assembly
> serviceAssemblyID="${jbi.service-assembly.id}"
>
> serviceAssemblyLocation="${basedir}/${dist.jar}"
>                                    netBeansUserDir="${netbeans.user}"
>
> j2eeServerInstance="${j2ee.server.instance}"/>
>    </target>
> I see no other logging info but the one line about being null. The
> ReservationPartnerServices deploys its EJB's correctly.
>
> 2) Checking around I notice the jbi.xml does not validate:
>
> Checking file:/C:/NeuralWorks/TravelReservationService/TravelReservationServiceApplication/src/jbiServiceUnits/TravelReservationService/jbi.xml...
> cvc-elt.1: Cannot find the declaration of element 'jbi'. [2]
>
> 3) tried to deploy the TravelReservationService JBI zip
> (C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\dist)
> and get
> ...
> ERROR:(JBIMA1811)Invalid descriptor in archive
> TravelReservationServiceApplication34255.zip. The jbi.xml descriptor
> is not schema valid. cvc-elt.1: Cannot find the declaration of element
> 'jbi'.
> ...
> The glassfish log says:
> ...
> 1544 WARNING 386) at
> com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.invokeMBeanOperation(AbstractUIMBeanImpl....
> (details) javax.enterprise.system.stream.err May 19, 2008
> 17:57:05.043 _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
> 1543 WARNING 27) at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
> at com.sun.jm... (details) javax.enterprise.system.stream.err May
> 19, 2008 17:57:05.043
> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
> 1542 WARNING <?xml version="1.0" encoding="UTF-8"
> standalone="yes"?><jbi-task version="1.0" xmlns="http://java.su...
> (details) javax.enterprise.system.stream.err May 19, 2008
> 17:57:05.043 _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
> 1541 WARNING Unable to set request character encoding to UTF-8 from
> context , because request parameters have alr... (details)
> org.apache.coyote.tomcat5.CoyoteRequest May 19, 2008 17:56:59.942
> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
> ...
> I'm thinking these 3 are related but see nothing in the logs that
> would help locate what needs to be done.  Any suggestions would be
> greatly appreciated.
>  

--
Dmitry Lipin
NBI Team Lead
Sun Microsystems, Inc.
Phone EMEA/APAC x33354 AMER x7033354
Email: Dmitry.Lipin@...


Re: Re: [nbdev] SOA Composite App not deploying

by Kirill Sorokin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Roger,

Can you please attach a more verbose build log? The ant verbosity level
can be set in IDE's options on the Miscellaneous->Ant tab. Set it to
'debug', there would be more useful information in the log.

Kirill

Dmitry Lipin wrote:

> Hi Roger,
>
> It`s worth to ask this question at nbentpack@... mailiing list.
>
> Dmitry
>
> Roger Martin wrote:
>> Hi,
>>
>> April 14 & May 15 netbeans nightly build running on a Vista 64 bit
>> machine and glassfish
>> glassfish-installer-v2.1-b24d-nightly-01_apr_2008
>>
>> 1) Whether I try a new Composite App or try the
>> TravelReservationService example the result is the same:
>> C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\nbproject\build-impl.xml:212:
>>
>> null
>> which is the last line of the Ant target:
>>    <target name="run-jbi-deploy" depends="jbi-build">
>>       <property name="j2ee.server.instance" value=""/>
>>       <loadproperties
>> srcFile="${basedir}/nbproject/private/private.properties"/>
>>       <jbi-deploy-service-assembly
>> serviceAssemblyID="${jbi.service-assembly.id}"
>>
>> serviceAssemblyLocation="${basedir}/${dist.jar}"
>>                                    netBeansUserDir="${netbeans.user}"
>>
>> j2eeServerInstance="${j2ee.server.instance}"/>
>>    </target>
>> I see no other logging info but the one line about being null. The
>> ReservationPartnerServices deploys its EJB's correctly.
>>
>> 2) Checking around I notice the jbi.xml does not validate:
>>
>> Checking
>> file:/C:/NeuralWorks/TravelReservationService/TravelReservationServiceApplication/src/jbiServiceUnits/TravelReservationService/jbi.xml...
>>
>> cvc-elt.1: Cannot find the declaration of element 'jbi'. [2]
>>
>> 3) tried to deploy the TravelReservationService JBI zip
>> (C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\dist)
>>
>> and get
>> ...
>> ERROR:(JBIMA1811)Invalid descriptor in archive
>> TravelReservationServiceApplication34255.zip. The jbi.xml descriptor
>> is not schema valid. cvc-elt.1: Cannot find the declaration of element
>> 'jbi'.
>> ...
>> The glassfish log says:
>> ...
>> 1544     WARNING     386) at
>> com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.invokeMBeanOperation(AbstractUIMBeanImpl....
>>
>> (details)     javax.enterprise.system.stream.err     May 19, 2008
>> 17:57:05.043    
>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>
>> 1543     WARNING     27) at
>> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
>>
>> at com.sun.jm... (details)     javax.enterprise.system.stream.err     May
>> 19, 2008 17:57:05.043
>>     _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>
>> 1542     WARNING     <?xml version="1.0" encoding="UTF-8"
>> standalone="yes"?><jbi-task version="1.0" xmlns="http://java.su...
>> (details)     javax.enterprise.system.stream.err     May 19, 2008
>> 17:57:05.043    
>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>
>> 1541     WARNING     Unable to set request character encoding to UTF-8
>> from
>> context , because request parameters have alr... (details)
>>     org.apache.coyote.tomcat5.CoyoteRequest     May 19, 2008 17:56:59.942
>>     _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>
>> ...
>> I'm thinking these 3 are related but see nothing in the logs that
>> would help locate what needs to be done.  Any suggestions would be
>> greatly appreciated.
>>  
>

Parent Message unknown Re: Re: [nbdev] SOA Composite App not deploying

by Kirill Sorokin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I might be. You can get the standalone BPEL engine distributable here:

http://download.java.net/jbi/binaries/open-jbi-components/main/nightly/latest/ojc/

Note that it requires sharedutillib.jar.

As the issue you're seeing. It is still a valid bug. I'll go on and file
it. Please comment on the issue, if I get something wrong, ok? :)

http://www.netbeans.org/issues/show_bug.cgi?id=135536

Kirill

Roger Martin wrote:

> I'm suspecting the issue may be related to missing the sun-bpel-engine
> in the running glassfish...
>
> I've tried the V2.1 night build.  Still looking where to get a hold of
> the sun-bpel-engine...
>
> On 5/20/08, Roger Martin <waldensianspirit@...> wrote:
>> Thanks Kirill,
>>
>> With Ant verbose set to debug:
>> ...
>> TravelReservationService.jar added as TravelReservationService.jar is
>> outdated.
>> sun-http-binding.jar added as sun-http-binding.jar is outdated.
>> Building jar:
>> C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\dist\TravelReservationServiceApplication.zip
>> adding directory META-INF/
>> adding entry META-INF/MANIFEST.MF
>> adding entry META-INF/jbi.xml
>> adding entry TravelReservationService.jar
>> adding entry sun-http-binding.jar
>> run-jbi-deploy:
>> Override ignored for property "j2ee.server.instance"
>> Override ignored for property "netbeans.user"
>> Override ignored for property "ide.module.install.dir"
>> Override ignored for property "enterprise.module.install.dir"
>> Override ignored for property "xml.module.install.dir"
>> Override ignored for property "j2ee.server.instance"
>> Override ignored for property "soa.module.install.dir"
>> Override ignored for property "java.module.install.dir"
>> C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\nbproject\build-impl.xml:212:
>> null
>>         at
>> org.netbeans.modules.compapp.projects.jbi.anttasks.DeployServiceAssembly.execute(DeployServiceAssembly.java:410)
>>         at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>         at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>>         at org.apache.tools.ant.Task.perform(Task.java:348)
>>         at org.apache.tools.ant.Target.execute(Target.java:357)
>>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>         at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>>         at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>>         at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>         at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>>         at
>> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
>>         at
>> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:461)
>>         at
>> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>> BUILD FAILED (total time: 2 minutes 1 second)
>> Could not load class
>> (org.apache.tools.ant.taskdefs.repository.MavenRepository) for type
>> mavenrepository
>> Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
>> Could not load class
>> (org.apache.tools.ant.taskdefs.repository.MavenRepository) for type
>> mavenrepository
>> Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
>> ----
>>
>> I plan to set up another box(linux in this case) with the latest of
>> everything netbeans and glassfish and try again and then repost what I
>> find.  I don't have any addons or extra stuff extending netbeans.  I
>> do have a cluster of my own; it doesn't work with SOA stuff but I plan
>> to run the next tests without it and with a clean nbuser folder.
>>
>> On 5/20/08, Kirill Sorokin <Kirill.Sorokin@...> wrote:
>>> Roger,
>>>
>>> Can you please attach a more verbose build log? The ant verbosity level
>>> can be set in IDE's options on the Miscellaneous->Ant tab. Set it to
>>> 'debug', there would be more useful information in the log.
>>>
>>> Kirill
>>>
>>> Dmitry Lipin wrote:
>>>> Hi Roger,
>>>>
>>>> It`s worth to ask this question at nbentpack@... mailiing list.
>>>>
>>>> Dmitry
>>>>
>>>> Roger Martin wrote:
>>>>> Hi,
>>>>>
>>>>> April 14 & May 15 netbeans nightly build running on a Vista 64 bit
>>>>> machine and glassfish
>>>>> glassfish-installer-v2.1-b24d-nightly-01_apr_2008
>>>>>
>>>>> 1) Whether I try a new Composite App or try the
>>>>> TravelReservationService example the result is the same:
>>>>> C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\nbproject\build-impl.xml:212:
>>>>>
>>>>>
>>>>> null
>>>>> which is the last line of the Ant target:
>>>>>    <target name="run-jbi-deploy" depends="jbi-build">
>>>>>       <property name="j2ee.server.instance" value=""/>
>>>>>       <loadproperties
>>>>> srcFile="${basedir}/nbproject/private/private.properties"/>
>>>>>       <jbi-deploy-service-assembly
>>>>> serviceAssemblyID="${jbi.service-assembly.id}"
>>>>>
>>>>> serviceAssemblyLocation="${basedir}/${dist.jar}"
>>>>>                                    netBeansUserDir="${netbeans.user}"
>>>>>
>>>>> j2eeServerInstance="${j2ee.server.instance}"/>
>>>>>    </target>
>>>>> I see no other logging info but the one line about being null. The
>>>>> ReservationPartnerServices deploys its EJB's correctly.
>>>>>
>>>>> 2) Checking around I notice the jbi.xml does not validate:
>>>>>
>>>>> Checking
>>>>> file:/C:/NeuralWorks/TravelReservationService/TravelReservationServiceApplication/src/jbiServiceUnits/TravelReservationService/jbi.xml...
>>>>>
>>>>>
>>>>> cvc-elt.1: Cannot find the declaration of element 'jbi'. [2]
>>>>>
>>>>> 3) tried to deploy the TravelReservationService JBI zip
>>>>> (C:\NeuralWorks\TravelReservationService\TravelReservationServiceApplication\dist)
>>>>>
>>>>>
>>>>> and get
>>>>> ...
>>>>> ERROR:(JBIMA1811)Invalid descriptor in archive
>>>>> TravelReservationServiceApplication34255.zip. The jbi.xml descriptor
>>>>> is not schema valid. cvc-elt.1: Cannot find the declaration of element
>>>>> 'jbi'.
>>>>> ...
>>>>> The glassfish log says:
>>>>> ...
>>>>> 1544     WARNING     386) at
>>>>> com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.invokeMBeanOperation(AbstractUIMBeanImpl....
>>>>>
>>>>>
>>>>> (details)     javax.enterprise.system.stream.err     May 19, 2008
>>>>> 17:57:05.043
>>>>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>>>>
>>>>>
>>>>> 1543     WARNING     27) at
>>>>> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
>>>>>
>>>>>
>>>>> at com.sun.jm... (details)     javax.enterprise.system.stream.err
>>>>> May
>>>>> 19, 2008 17:57:05.043
>>>>>
>>>>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>>>>
>>>>>
>>>>> 1542     WARNING     <?xml version="1.0" encoding="UTF-8"
>>>>> standalone="yes"?><jbi-task version="1.0" xmlns="http://java.su...
>>>>> (details)     javax.enterprise.system.stream.err     May 19, 2008
>>>>> 17:57:05.043
>>>>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>>>>
>>>>>
>>>>> 1541     WARNING     Unable to set request character encoding to UTF-8
>>>>> from
>>>>> context , because request parameters have alr... (details)
>>>>>     org.apache.coyote.tomcat5.CoyoteRequest     May 19, 2008
>>>>> 17:56:59.942
>>>>>
>>>>> _ThreadID=19;_ThreadName=httpWorkerThread-4848-1;_RequestID=25a59563-ece3-4e15-b906-0c94fdfad982;
>>>>>
>>>>>
>>>>> ...
>>>>> I'm thinking these 3 are related but see nothing in the logs that
>>>>> would help locate what needs to be done.  Any suggestions would be
>>>>> greatly appreciated.
>>>>>
LightInTheBox - Buy quality products at wholesale price