Congratulations on getting 3.2.3 working! I didn't change my jboss-service.xml as my
deployment is slightly different. I have a jetspeed.ear directory in deploy and an
exploded jetspeed.war underneath. However, I think I am getting closer to the core
problem - and have one more question for you (and others).
1. When I start JBoss normally, Jetspeed runs fine. The only castor jars are the one
in my WEB-INF and that one in snmp-adapter.sar.
2. When I start JBoss through Eclipse, I run into the "hang" problem. And, I notice
that a tmpnnnncastor.jar is created in jboss-3.2.3\server\default\tmp\deploy. I
believe that it is this jar that causes the hang. The reason for that belief is that
after that tmpnnnncastor.jar is created, if I then kill JBoss in Eclipse and restart
it normally (case 1), then Jetspeed hangs. If I then stop JBoss, remove that
tmpnnnncastor.jar, restart JBoss and run Jetspeed, things work.
So, focusing on why things work when JBoss is run normally vs. when it is run from
within Eclipse, I come to the question as to how are you running JBoss from within
Eclipse? Are you using Lomboz (which is what I use) or some other plug-in? Or are
you using remote debugging (which I will test when I get back to my system tonight).
Thanks again for all your help - hopefully we will come to a resolution that is
helpful to others.
RB
Twenty Years | One Mission | Accelerating Business Processes
Richard Berger
Action Technologies, Inc.
VP, Product Management
510.748.1017 (Office)
510.769.0596 (Fax)
www.actiontech.com
NOTE: The opinions expressed herein are those of the writer and not necessarily those
of Action Technologies, Inc. or its employees or its affiliates.
-----Original Message-----
From: Yong Bing Khoo [mailto:[EMAIL PROTECTED]
Sent: Wed 1/21/2004 10:11 PM
To: [EMAIL PROTECTED]
Cc:
Subject: RE: jboss deployment question
I got JBoss 3.2.3 running from Eclipse with Jetspeed 1.4. Hmmm ... I didn't
remove castor.jar from jboss/server/default/deploy/snmp-adaptor.sar.
All I did was to edit the configuration for URLDeploymentScanner MBean in
jboss-service.xml. However, it appears that the structure has been changed
slightly.
Go to line 393 of jboss-service.xml and append your project directory
(comma-separated):
<attribute name="URLs">
deploy/,file:../../../someproject/bin/
</attribute>
Where bin contains your project.ear directory. My .ear directory is an
exploded application.
I do not recall modifying Jetspeed 1.4 code either.
Hope it helps. :)
Btw, are you using Jetspeed 1.4 (final)?
See ya,
Yong Bing
>From: "Richard Berger" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: RE: jboss deployment question
>Date: Wed, 21 Jan 2004 21:31:47 -0800
>
>I had already removed the castor.jar from jboss/server/default/lib, so I
>tried the configuration where I only had the castor-0.9.3 jar in the
>WEB-INF/lib, but it still left me with the hanging problem (note I removed
>the castor.jar from the snmp-adaptor.sar as well, so the only castor.jar
>anywhere is the castor-0.9.3). I then went back to the original
>CastorRegistry.java code and it resulted in a jetspeedservices.log full of:
>2004-01-21 21:23:59,562 [DaemonThread:feeddaemon] DEBUG
>CastorRegistryService - RegistryService: Waiting for init of Registry...
>(and the service hung).
>
>Thanks again for your help on this - I hope your 3.2.3 is going smoothly
>(or technically, I hope that you are hitting the same problems I hit :) :)
>).
>
>RB
>
>
>
>Twenty Years | One Mission | Accelerating Business Processes
>
>
>Richard Berger
>Action Technologies, Inc.
>VP, Product Management
>510.748.1017 (Office)
>510.769.0596 (Fax)
>www.actiontech.com
>
>NOTE: The opinions expressed herein are those of the writer and not
>necessarily those of Action Technologies, Inc. or its employees or its
>affiliates.
>-----Original Message-----
> From: Yong Bing Khoo [mailto:[EMAIL PROTECTED]
> Sent: Wed 1/21/2004 8:46 PM
> To: [EMAIL PROTECTED]
> Cc:
> Subject: RE: jboss deployment question
>
>
>
> I removed castor.jar from jboss/server/default/lib and left
>castor-0.9.3.jar
> in Jetspeed's WEB-INF/lib directory as it is. (I am using Jetspeed
1.4.)
>
>
> >There are two sources of castor jars - version 0.9.3 that comes with
> >Jetspeed and a castor.jar dated 11/20/2003 that is part of the
> >snmp-adapter.sar that comes with JBoss.
> >
> >Four questions:
> >1. Does JBoss 3.2.0 RC4 have this snmp-adapter.sar and its related
> >castor.jar? If so, what did you do with them? (When I remove this
> >castor.jar, the snmp agent does not load correctly, although that
doesn't
> >matter too much to me - my problems are more basic)
>
> Hmm ... not sure about snmp agent. I don't use it, yet. Yes, it has a
> castor.jar but I can't find snmp-adapter.sar in the distribution. I
>removed
> castor.jar from the default/lib in JBoss.
>
> >2. How is it that your CastorRegistry service survives without the
> >Unmarshaller? Or did you change your configuration so that this
registry
> >services isn't needed?
>
> Can you try leaving castor-0.9.3.jar in your Jetspeed WEB-INF and see
how
>it
> goes?
>
> >3. There was a patch to the CastorRegistry.java that was posted as a
bug
> >fix. Upon reading another post, I applied that new source code into
my
> >system. Did you also use that use that source code? See:
> >http://www.mail-archive.com/[EMAIL PROTECTED]/msg10348.html
>
> No ... I don't recall applying that patch, but then it was quite some
time
> ago when I set up Jetspeed in JBoss.
>
> >4. Finally, could there be a difference between 3.2.0 RC4 and 3.2.3
that
> >would cause these problems?
>
> Not sure about that. I will download 3.2.3 and try out.
>
> >Thanks so much - this problem (unable to debug in Eclipse) has been
> >resisting all attempts for over a week,
>
> No worries! :)
>
> I will get back to you in a sec.
>
> Regards,
> Yong Bing
>
> _________________________________________________________________
> Hot chart ringtones and polyphonics. Go to
> http://ninemsn.com.au/mobilemania/default.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]