Re: Geronimo 1.1.1 service wrapper problem

2007-10-04 Thread Kevan Miller


On Oct 3, 2007, at 10:03 AM, Alessandro PTQS wrote:



Hi, I have installed geronimo-1.1.1 as a windows service using Java  
Service

Wrapper 3.2.3 and it works very fine.

Now I need to launch Geronimo in java 6.

If I start Geronimo by the command line, it still work fine, but if  
i start

Geronimo in java 6 with the Java Service Wrapper i got this exception:

INFO   | jvm 1| 2007/10/03 15:45:38 | Exception in thread  
Timer-0

java.lang.NoSuchMethodError: org.w3c.dom.Document.getXmlStandalone()Z
INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo 
(DOM2TO.java:373)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse 
(DOM2TO.java:127)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse 
(DOM2TO.java:94)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform 
Identity(TransformerImpl.java:663)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform 
(TransformerImpl.java:709)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform 
(TransformerImpl.java:313)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
org.apache.geronimo.system.configuration.LocalAttributeManager.saveXml 
ToFile(LocalAttributeManager.java:475)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
org.apache.geronimo.system.configuration.LocalAttributeManager.save 
(LocalAttributeManager.java:433)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
org.apache.geronimo.system.configuration.LocalAttributeManager$2.run 
(LocalAttributeManager.java:636)

INFO   | jvm 1| 2007/10/03 15:45:38 |   at
java.util.TimerThread.mainLoop(Timer.java:512)
INFO   | jvm 1| 2007/10/03 15:45:38 |   at
java.util.TimerThread.run(Timer.java:462)


anyone can help me ???


The stacktrace indicates a mismatch between Java 6's xslt  
implementation and org.w3c.dom.Document which is in our lib/endorsed/ 
xmlParserAPIs-2.2.1.jar. The manifest.mf in server.jar would include  
this in your CLASSPATH. Not sure how things are being set up in your  
java service wrapper environment.


Any reason not to use Geronimo 2.0?

--kevan 


Geronimo JMS configuration

2007-10-04 Thread Jochen Zink
Hello,

I have a simple JMS Queue and a MessageDriven Bean. The Bean retreices 
Messages, which are sended to te JMS Queue. If the MDB throws an exception, no 
acknoledge is sended to the Queue. The Message while be redelievered after a 
very short time. This time is to short. Is it possible to configure this time, 
for example to 5 minutes?

Thanks a lot!
Regards
Jochen
___
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00



Re: Geronimo JMS configuration

2007-10-04 Thread Marcin Waldowski

Hello.

I just doing the same :)

We need to change Redelivery Policy of ActiveMQ. I found some 
information about this:

http://activemq.apache.org/redelivery-policy.html

In ActiveMQ source code in class
\src\main\java\org\apache\activemq\RedeliveryPolicy.java
you can easy find what this parameters mean. But in your case you need 
to change only 'initialRedeliveryDelay'.


Now I'm digging where change this parameters in geronimo.

Join irc://irc.freenode.net/geronimo, perhaps we will be able to find it 
together ;)


Regards, Marcin

Jochen Zink wrote:

Hello,

I have a simple JMS Queue and a MessageDriven Bean. The Bean retreices 
Messages, which are sended to te JMS Queue. If the MDB throws an exception, no 
acknoledge is sended to the Queue. The Message while be redelievered after a 
very short time. This time is to short. Is it possible to configure this time, 
for example to 5 minutes?

Thanks a lot!
Regards
Jochen
___
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00


  




Re: maven - geronimo 2.0 example build problem

2007-10-04 Thread dbrenck

Still trying out to figure details - phonebook example:

If I remove 'MyPhonebookBean.java' from the phonebook example and just
rebuild the ejb.jar, geronimo creates the following error:

 14:36:34,562 ERROR [DirectoryHotDeployer] Unable to deploy: 
 Cannot deploy the requested application module because no deployer is
 able 
 to handle it.  This can happen if you have omitted the J2EE deployment
 descriptor,
 disabled a deployer module, or if, for example, you are trying to
 deploy an EJB 
 module on a minimal Geronimo server that does not have EJB support
 installed.  
 (moduleFile=C:\Programme\Java\geronimo\geronimo-tomcat6-jee5-2.0.1\
   
 var\temp\geronimo-deployer7872.tmpdir\test-ejb.jar)
 org.apache.geronimo.common.DeploymentException: Cannot deploy the 
 requested application module because no deployer is able to handle it. 
 This can
 happen if you have omitted the J2EE deployment descriptor, disabled a
 deployer
 module, or if, for example, you are trying to deploy an EJB module on
 a minimal
 Geronimo server that does not have EJB support installed.
 (moduleFile=C:\Programme\Java\geronimo\geronimo-tomcat6-jee5-2.0.1\
   
 var\temp\geronimo-deployer7872.tmpdir\test-ejb.jar)
 at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:241)
 ...

I tried the reverse way to add the class back and rebuild the jar. After
doing so the deployer did not complain anymore.

Ain't it possible to deploy Entity Beans standalone?


-- 
View this message in context: 
http://www.nabble.com/maven---geronimo-2.0-example-build-problem-tf4496318s134.html#a13039682
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: maven - geronimo 2.0 example build problem

2007-10-04 Thread David Jencks


On Oct 4, 2007, at 6:16 AM, dbrenck wrote:



Still trying out to figure details - phonebook example:

If I remove 'MyPhonebookBean.java' from the phonebook example and just
rebuild the ejb.jar, geronimo creates the following error:


14:36:34,562 ERROR [DirectoryHotDeployer] Unable to deploy:
Cannot deploy the requested application module because no  
deployer is

able
to handle it.  This can happen if you have omitted the J2EE  
deployment

descriptor,
disabled a deployer module, or if, for example, you are trying to
deploy an EJB
module on a minimal Geronimo server that does not have EJB  
support

installed.
(moduleFile=C:\Programme\Java\geronimo\geronimo-tomcat6- 
jee5-2.0.1\


var\temp\geronimo-deployer7872.tmpdir\test-ejb.jar)
org.apache.geronimo.common.DeploymentException: Cannot deploy the
requested application module because no deployer is able to  
handle it.

This can
happen if you have omitted the J2EE deployment descriptor,  
disabled a

deployer
module, or if, for example, you are trying to deploy an EJB  
module on

a minimal
Geronimo server that does not have EJB support installed.
(moduleFile=C:\Programme\Java\geronimo\geronimo-tomcat6- 
jee5-2.0.1\


var\temp\geronimo-deployer7872.tmpdir\test-ejb.jar)
at org.apache.geronimo.deployment.Deployer.deploy 
(Deployer.java:241)

...


I tried the reverse way to add the class back and rebuild the jar.  
After

doing so the deployer did not complain anymore.

Ain't it possible to deploy Entity Beans standalone?



I haven't looked at the phonebook example in great detail but it  
looks to me like the entity uses jpa and is not an ejb 2.x entity  
bean.  As such, if there are no session beans in the jar, it's no  
longer an ejb jar.  If there's an application.xml in the ear that  
claims it is, geronimo will probably object.  If you want to use it  
as a persistence unit referenced from the war I think you need to put  
the jar in the ears lib directory or include a manifest classpath  
entry in the war's META-INF/MANIFEST.MF pointing to the jar.


Hope I'm right and that this helps :-)

david jencks



--
View this message in context: http://www.nabble.com/maven--- 
geronimo-2.0-example-build-problem-tf4496318s134.html#a13039682
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Re: Geronimo JMS configuration

2007-10-04 Thread David Jencks
Due to https://issues.apache.org/jira/browse/GERONIMO-3480 at the  
moment to configure these properties you have to rebuild the geronimo- 
activemq-ra module with a modified ra.xml that includes the  
properties you want to configure.  Maybe we can post an enhanced  
rar somewhere soon with all the configurable properties listed until  
this bug is fixed.


thanks
david jencks

On Oct 4, 2007, at 5:08 AM, Marcin Waldowski wrote:


Hello.

I just doing the same :)

We need to change Redelivery Policy of ActiveMQ. I found some  
information about this:

http://activemq.apache.org/redelivery-policy.html

In ActiveMQ source code in class
\src\main\java\org\apache\activemq\RedeliveryPolicy.java
you can easy find what this parameters mean. But in your case you  
need to change only 'initialRedeliveryDelay'.


Now I'm digging where change this parameters in geronimo.

Join irc://irc.freenode.net/geronimo, perhaps we will be able to  
find it together ;)


Regards, Marcin

Jochen Zink wrote:

Hello,

I have a simple JMS Queue and a MessageDriven Bean. The Bean  
retreices Messages, which are sended to te JMS Queue. If the MDB  
throws an exception, no acknoledge is sended to the Queue. The  
Message while be redelievered after a very short time. This time  
is to short. Is it possible to configure this time, for example to  
5 minutes?


Thanks a lot!
Regards
Jochen
_ 
__

Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/? 
mc=00










Porting complex WAS6 app to Geronimo 1.1

2007-10-04 Thread TslH
Hi,

I have to port a complex WAS6 application (with ESB, 5+ EAR, and so
on...) onto a Geronimo v1.1, but I have no experiences using Geronimo.

First thing I'm looking for: a URL provider.

I have to create a server-wide name such as myapp/properties to a
filesystem URL. In WAS6, I have an URL provider that do it easily. I
thing Geronimo could do this by JNDI, but I don't find where to
configure this, neither in the application console, nor in the
configuration files.

Could somebody put me on the right way?

Thanks you by advance.


Re: Geronimo JMS configuration

2007-10-04 Thread David Jencks
After more investigation I discovered that you can set these  
particular properties on the ActivationSpec in the mdb configuration  
as well, and I've updated the amq docs to point this out...


http://activemq.apache.org/activation-spec-properties.html
http://activemq.apache.org/resource-adapter-properties.html

Meanwhile Matt is working on updating the ra.xml so it will document  
all the possible properties you can set on the ResourceAdapter and  
ManagedConnectionFactory.


thanks
david jencks
On Oct 4, 2007, at 8:26 AM, David Jencks wrote:

Due to https://issues.apache.org/jira/browse/GERONIMO-3480 at the  
moment to configure these properties you have to rebuild the  
geronimo-activemq-ra module with a modified ra.xml that includes  
the properties you want to configure.  Maybe we can post an  
enhanced rar somewhere soon with all the configurable properties  
listed until this bug is fixed.


thanks
david jencks

On Oct 4, 2007, at 5:08 AM, Marcin Waldowski wrote:


Hello.

I just doing the same :)

We need to change Redelivery Policy of ActiveMQ. I found some  
information about this:

http://activemq.apache.org/redelivery-policy.html

In ActiveMQ source code in class
\src\main\java\org\apache\activemq\RedeliveryPolicy.java
you can easy find what this parameters mean. But in your case you  
need to change only 'initialRedeliveryDelay'.


Now I'm digging where change this parameters in geronimo.

Join irc://irc.freenode.net/geronimo, perhaps we will be able to  
find it together ;)


Regards, Marcin

Jochen Zink wrote:

Hello,

I have a simple JMS Queue and a MessageDriven Bean. The Bean  
retreices Messages, which are sended to te JMS Queue. If the MDB  
throws an exception, no acknoledge is sended to the Queue. The  
Message while be redelievered after a very short time. This time  
is to short. Is it possible to configure this time, for example  
to 5 minutes?


Thanks a lot!
Regards
Jochen
 
___

Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/? 
mc=00












Re: Q: MDB Application cannot find Interface defined in RAR file

2007-10-04 Thread Ed Hillmann
On 10/3/07, David Jencks [EMAIL PROTECTED] wrote:
 Lets start small and try to figure out why the message listener class
 isn't getting found.  I have a hard time believing that the rar
 processing is at fault because some of the tranql rars have 2 jars in
 them but maybe something else is triggering a bug.

 Could you try putting all the connector jars in the geronimo repo and
 adding them to the geroniimo-ra.xml plan?  At that point you ought to
 be able to use the console to try to load the message listener class
 in the rar configuration classloader.

OK, I've put one of the two JAR files in the geronimo repo (the
svConnector-api.jar), and I could successfully deploy the RAR file.
I've also used the console.

On a bit of a tangent, how do I remove a library from the repos?  I'd
like to remove the api jar file again, but I can't find out how.  I
assume it's a problem with my looking, so, as usual, any help will be
appreciated.


 Also, if you have copied any of  the connector classes into  the ejb
 app or included anything in any of the manifest claspaths I advise
 taking them out.  It shouldn't make a difference but

 thanks
 david jencks
 On Oct 2, 2007, at 10:15 PM, Ed Hillmann wrote:

  On 10/3/07, David Jencks [EMAIL PROTECTED] wrote:
  Hi Ed,
 
  I'm sorry you've been having such a hard time getting this to work.
 
  You and me both. :)
 
  Email is not always the most efficient form for dialog :-).  If you
  can get on IRC sometime when I am around I can probably help sort
  things out more quickly or if IRC is unavailable to you but you have
  some time to  work through this more continuously we could try
  that having a couple days between emails its difficult to
  remember exactly what the context of your questions is.
 
  Yes, it is not very efficient, especially as I'm sure you're across
  multiple fires like mine.  I do appreciate your efforts.  I did try
  installing an IRC client in order to access the IRC server, but I
  could not.  I assume that I cannot access it from behind my firewall,
  but I didn't chase this up too much.
 
  I'm sure it doesn't help that I'm in a different hemisphere (I'm
  assuming this, but being in Australia, it's typically a safe
  assumption :) )
 
 
  One of the things I don't like much about the console deployer is
  that it tends to conceal the causes of errors and sometimes the fact
  of errors :-).  I generally get better feedback from the command line
  deployer -- also a transcript shows unambiguously what you tried
  to do.
 
  I have not tried the command-line deployer.  Perhaps I should use that
  from now on.
 
 
  I noticed a couple o things in the stuff you sent some of which might
  be causing problems.
 
  1. There are a lot of jar dependencies in your geronimo plan for the
  rar... does this mean all these jars are needed by the rar but are
  not included in it?  If the jars are included in the rar they should
  not be needed as dependencies.  Knowing exactly what is in the rar
  would be helpful
 
  There are three jars that used at various parts of the adapter (the
  outbound adapter uses one jar, one outbound adapter uses the same as
  the outbound, a second output adapter uses the other two).  They have
  been set up externally, because I was having problems getting the
  adapters to find the classes when they were deployed within the RAR.
  Kinda like what I'm going through now.
 
  I didn't mind having them in the lib/ext (or, in Geronimo's case, as
  source modules) because that's actually a good fit for what we want to
  do with this.
 
  What is in the RAR file is
 
  svConnector-api.jar, which contains some classes that implement the
  InteractionSpec interfaces (used by applications using the output
  adapter), and an interface that should be implemented by MDB's hosting
  one of the inbound adapters.
 
  svConnector-ra.jar, which contains the JCA implementations.  Files in
  this jar may reference the files in the svConnector-api.jar.
 
  the ra.xml file.
 
 
  2. The resource adapter has no outbound connectors and all the
  ResourceAdapter properties are set to their defaults from ra.xml
  this is as intended?
 
  Yes.  In this particular case, I was trying to write an application
  that used one of the inbound connectors.  I wasn't trying to deploy an
  application that used all the available adapter types.
 
 
  3. the openejb-jar.xml has a dependency on a rar.  That would be a
  dependency on a rar that is deployed separately, not the one in the
  ear.  If this is really the openejb-jar.xml from the ear attempt you
  should remove that dependency.
 
  I was trying this because I could not deploy the RAR file separately
  (as mentioned in one of my other threads on this list).  I was basing
  this on the sample MDB application
  (http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample-
  application.html).
   In the sample, it looked like the RAR file was deployed as part of
  the EAR.  But, then again, I've been 

Re: Q: MDB Application cannot find Interface defined in RAR file

2007-10-04 Thread Ed Hillmann
 On a bit of a tangent, how do I remove a library from the repos?  I'd
 like to remove the api jar file again, but I can't find out how.  I
 assume it's a problem with my looking, so, as usual, any help will be
 appreciated.

I'll answer my own question: after shutting down the server, I deleted
the directory that contained the JAR file in the repository.  After
restarting, it was gone as desired


Re: Geronimo JMS configuration

2007-10-04 Thread Marcin Waldowski

Thank you for your explanations.

Regards, Marcin

David Jencks wrote:
After more investigation I discovered that you can set these particular 
properties on the ActivationSpec in the mdb configuration as well, and 
I've updated the amq docs to point this out...


http://activemq.apache.org/activation-spec-properties.html
http://activemq.apache.org/resource-adapter-properties.html

Meanwhile Matt is working on updating the ra.xml so it will document all 
the possible properties you can set on the ResourceAdapter and 
ManagedConnectionFactory.


thanks
david jencks
On Oct 4, 2007, at 8:26 AM, David Jencks wrote:

Due to https://issues.apache.org/jira/browse/GERONIMO-3480 at the 
moment to configure these properties you have to rebuild the 
geronimo-activemq-ra module with a modified ra.xml that includes the 
properties you want to configure.  Maybe we can post an enhanced rar 
somewhere soon with all the configurable properties listed until this 
bug is fixed.


thanks
david jencks

On Oct 4, 2007, at 5:08 AM, Marcin Waldowski wrote:


Hello.

I just doing the same :)

We need to change Redelivery Policy of ActiveMQ. I found some 
information about this:

http://activemq.apache.org/redelivery-policy.html

In ActiveMQ source code in class
\src\main\java\org\apache\activemq\RedeliveryPolicy.java
you can easy find what this parameters mean. But in your case you 
need to change only 'initialRedeliveryDelay'.


Now I'm digging where change this parameters in geronimo.

Join irc://irc.freenode.net/geronimo, perhaps we will be able to find 
it together ;)


Regards, Marcin

Jochen Zink wrote:

Hello,

I have a simple JMS Queue and a MessageDriven Bean. The Bean 
retreices Messages, which are sended to te JMS Queue. If the MDB 
throws an exception, no acknoledge is sended to the Queue. The 
Message while be redelievered after a very short time. This time is 
to short. Is it possible to configure this time, for example to 5 
minutes?


Thanks a lot!
Regards
Jochen
___
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00














Fwd: Q: MDB Application cannot find Interface defined in RAR file

2007-10-04 Thread Ed Hillmann
[EMAIL PROTECTED] !#! %

OK, this has been completely my problem.  I've moved the class into a
different package, and my ra.xml was not correct.  When I update my
ra.xml to reference the correct interface name, surprising it deploys!

Sorry David, for wasting your time.  Sorry group, for the spam.  I'm
going to crawl under a rock for a few days.

Thanks again,
Ed

-- Forwarded message --
From: David Jencks [EMAIL PROTECTED]
Date: Oct 5, 2007 9:37 AM
Subject: Re: Q: MDB Application cannot find Interface defined in RAR file
To: Ed Hillmann [EMAIL PROTECTED]


I don't think that class is in any of the jars you told me to use :-)

It's in a jar called svConnector.jar that looks like an early
mispacked version of the rar (I suspect I renamed it from
svConnector.rar so I could look inside with emacs)
and there's a class called  com/intecbilling/connector/interaction/
TreEventListener.class in svConnector-api.jar

is it possible that the package of this class changed and the ra.xml
is no longer accurate? Or is it just missing? I am I missing
something :-)

thanks
david jencks

On Oct 4, 2007, at 4:15 PM, Ed Hillmann wrote:

 OK, I've reset my environment, so that the svConnector-api.jar is not
 in the Geronimo repos.  The resource adapter's plan declares the
 dependencies, and only defines a single instance (an inbound instance
 named InboundSVEvents).

 So, when I deploy via the console, it all looks fine...

 [EMAIL PROTECTED]:/geronimo-tomcat6-jee5-2.0.1/bin ./myDeploy.sh
 Using GERONIMO_BASE:   /u01/ct/acct/ehillman/geronimo-tomcat6-
 jee5-2.0.1
 Using GERONIMO_HOME:   /u01/ct/acct/ehillman/geronimo-tomcat6-
 jee5-2.0.1
 Using GERONIMO_TMPDIR: var/temp
 Using JRE_HOME:/ct/ctapp/jdk1.6/jre
 Deployed com.intecbilling.singleview/svConnector/1.0/rar

 And, I can see the connector in the Admin Console.  However, there is
 the following exception in geronimo.log

 09:09:38,259 ERROR [OpenEjbSystemGBean] Unable to deploy mdb container
 com.intecbilling.singleview/svConnector/1.0/rar.InboundSVEvents-
 com.intecbilling.connector.TreEventListener
 java.lang.ClassNotFoundException:
 com.intecbilling.connector.TreEventListener in classloader
 com.intecbilling.singleview/svConnector/1.0/rar
   at
 org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimized
 Class(MultiParentClassLoader.java:428)
   at
 org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass
 (MultiParentClassLoader.java:278)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at
 org.apache.geronimo.openejb.OpenEjbSystemGBean.addResourceAdapter
 (OpenEjbSystemGBean.java:233)
   at org.apache.geronimo.openejb.OpenEjbSystemGBean.access$000
 (OpenEjbSystemGBean.java:81)
   at org.apache.geronimo.openejb.OpenEjbSystemGBean$1.memberAdded
 (OpenEjbSystemGBean.java:186)
   at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget
 (ProxyCollection.java:102)
   at
 org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdded
 (GBeanCollectionReference.java:96)
   at
 org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget
 (GBeanCollectionReference.java:180)
   at org.apache.geronimo.gbean.runtime.GBeanCollectionReference
 $1.running(GBeanCollectionReference.java:110)
   at
 org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEven
 t(BasicLifecycleMonitor.java:176)
   at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access
 $300(BasicLifecycleMonitor.java:44)
   at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor
 $RawLifecycleBroadcaster.fireRunningEvent
 (BasicLifecycleMonitor.java:254)
   at
 org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
 GBeanInstanceState.java:294)
   at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
 (GBeanInstanceState.java:102)
   at
 org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
 (GBeanInstanceState.java:124)
   at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
 (GBeanInstance.java:553)
   at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
 (BasicKernel.java:379)
   at
 org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
 GBeans(ConfigurationUtil.java:448)
   at
 org.apache.geronimo.kernel.config.KernelConfigurationManager.start
 (KernelConfigurationManager.java:187)
   at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
 iguration(SimpleConfigurationManager.java:530)
   at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
 iguration(SimpleConfigurationManager.java:511)
   at org.apache.geronimo.kernel.config.SimpleConfigurationManager$
 $FastClassByCGLIB$$ce77a924.invoke(generated)
   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
 (FastMethodInvoker.java:38)
   at 

Endpoint connection to JMS broker failed

2007-10-04 Thread Zakharov, Vasily M
Hi, all,

After I deploy a JMS connector (named SPECJMS) and an application
(SPECjAppServer2004) using this connector, the following messages appear
in the console after each 30 seconds or so:

03:06:18,619 ERROR [ActiveMQEndpointWorker] Endpoint connection to JMS
broker failed: Broker: localhost - Client: SPECJMS already connected
03:06:18,619 ERROR [ActiveMQEndpointWorker] Endpoint will try to
reconnect to the JMS broker in 30 seconds

I wonder if this is normal or indicates that some kind of a problem
exists in my configuration?

Thank you!

The deployment plans for the connector and the application can be found
here:
http://cwiki.apache.org/confluence/download/attachments/64828/sjas-jms.x
ml
http://cwiki.apache.org/confluence/download/attachments/64828/sjas-app.x
ml

Vasily Zakharov
Intel ESSD


---

Closed Joint Stock Company Intel A/O
Registered legal address: 125252, Moscow, Russian Federation, 
Chapayevsky Per, 14.

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Exception while generating WSDL in Geronimo 2.0.2

2007-10-04 Thread Tomasz Mazan

I try to use jaxws-tools.bat wsgen to generate WSDL file from my web service
(I've succesfully generated using com.sun.tools.ws.ant.WsGen included in
Geronimo 2.0.1, but now I got exception

[exec] Using GERONIMO_BASE: D:\SERVER\geronimo-tomcat
[exec] Using GERONIMO_HOME: D:\SERVER\geronimo-tomcat
[exec] Using GERONIMO_TMPDIR: var\temp
[exec] Using JRE_HOME: C:\DEV\SDK\jdk1.5.0_09\jre
[exec] Problem encountered during annotation processing;
[exec] see stacktrace below for more information.
[exec] java.lang.NullPointerException
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isSubtype(WebServiceAP.java:416)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isRemote(WebServiceAP.java:411)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType(WebServiceVisitor.java:811)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalMethod(WebServiceVisitor.java:642)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.methodsAreLegal(WebServiceVisitor.java:622)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalImplementation(WebServiceVisitor.java:540)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:350)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:143)
[exec] at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
[exec] at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
[exec] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
[exec] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
[exec] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
[exec] at com.sun.tools.apt.main.Main.compile(Main.java:938)
[exec] at com.sun.tools.apt.Main.processing(Main.java:95)
[exec] at com.sun.tools.apt.Main.process(Main.java:85)
[exec] at com.sun.tools.apt.Main.process(Main.java:67)
[exec] at
com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
[exec] at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
[exec] at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
[exec] at
com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:42)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] error: compilation failed, errors should have been reported
[exec] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:190)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:174)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invokeWsgen(JAXWSTools.java:161)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.java:64)
[exec]

Could anyone help ?
-- 
View this message in context: 
http://www.nabble.com/Exception-while-generating-WSDL-in-Geronimo-2.0.2-tf4572394s134.html#a13051525
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Exception while generating WSDL in Geronimo 2.0.2

2007-10-04 Thread Jarek Gawor
Tomek,

You mean it worked before and it doesn't work? Or it's a different
annotated class? Can you  send the class that generates this error?

Btw, I've found this:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6543269. Might be a
bug somewhere in Glassfish libraries that we use.

Jarek

On 10/4/07, Tomasz Mazan [EMAIL PROTECTED] wrote:

 I try to use jaxws-tools.bat wsgen to generate WSDL file from my web service
 (I've succesfully generated using com.sun.tools.ws.ant.WsGen included in
 Geronimo 2.0.1, but now I got exception

 [exec] Using GERONIMO_BASE: D:\SERVER\geronimo-tomcat
 [exec] Using GERONIMO_HOME: D:\SERVER\geronimo-tomcat
 [exec] Using GERONIMO_TMPDIR: var\temp
 [exec] Using JRE_HOME: C:\DEV\SDK\jdk1.5.0_09\jre
 [exec] Problem encountered during annotation processing;
 [exec] see stacktrace below for more information.
 [exec] java.lang.NullPointerException
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isSubtype(WebServiceAP.java:416)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isRemote(WebServiceAP.java:411)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType(WebServiceVisitor.java:811)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalMethod(WebServiceVisitor.java:642)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.methodsAreLegal(WebServiceVisitor.java:622)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalImplementation(WebServiceVisitor.java:540)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:350)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:143)
 [exec] at
 com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
 [exec] at
 com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
 [exec] at
 com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
 [exec] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
 [exec] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
 [exec] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
 [exec] at com.sun.tools.apt.main.Main.compile(Main.java:938)
 [exec] at com.sun.tools.apt.Main.processing(Main.java:95)
 [exec] at com.sun.tools.apt.Main.process(Main.java:85)
 [exec] at com.sun.tools.apt.Main.process(Main.java:67)
 [exec] at
 com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
 [exec] at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
 [exec] at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
 [exec] at
 com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:42)
 [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [exec] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [exec] error: compilation failed, errors should have been reported
 [exec] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [exec] at java.lang.reflect.Method.invoke(Method.java:585)
 [exec] at
 org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:190)
 [exec] at
 org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:174)
 [exec] at
 org.apache.geronimo.jaxws.builder.JAXWSTools.invokeWsgen(JAXWSTools.java:161)
 [exec] at
 org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.java:64)
 [exec]

 Could anyone help ?
 --
 View this message in context: 
 http://www.nabble.com/Exception-while-generating-WSDL-in-Geronimo-2.0.2-tf4572394s134.html#a13051525
 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.