Re: Geronom 2.1.4, Thread Pools are reporting zero usage

2009-03-30 Thread Ying Tang
Thanks for clarifying. This problem is now described in Monitoring
section
of the Geronimo 2.2 doc:

http://cwiki.apache.org/GMOxDOC22/monitoring-thread-pools.html

Any comments?

2009/3/25 Jack Cai 

> Do you mean to monitor the total number of threads that Geronimo is using
> (the whole JVM)? There's no such function in the admin console today. But it
> can be easily implemented by retrieving thread stat from the standard
> ThreadMXBean and adding it to the JVM stat. You might want to open a JIRA if
> you really want this, and I might be able to help out.
>
> -Jack
>
> 2009/3/24 jklcom99 
>
>
>> Thanks Jack,
>>
>> Is there a way that we can check for thread usage in the console?
>>
>>
>> Jack Cai wrote:
>> >
>> > I looked through the code to see how ConnectorThreadPool and
>> > DefaultThreadPool are actually used. It seems that ConnectorThreadPool
>> is
>> > used by org.apache.geronimo.connector.work.GeronimoWorkManagerGBean in
>> > JCA,
>> > and DefaultThreadPool is used by Jetty and System-database. So their
>> names
>> > are misleading in some sense. You cannot expect that the
>> > ConnectorThreadPool
>> > has any link with Tomcat's web connector. Hope this helps.
>> >
>> > -Jack
>> >
>> > 2009/3/12 jklcom99 
>> >
>> >>
>> >> I'm running 3/2/09 2.1.4-SNAPSHOT.
>> >>
>> >> Geronimo console is reporting zero usages for both ConnectorThreadPool
>> >> and
>> >> DefaultThreadPool even with our application running.
>> >>
>> >> ConnectorThreadPool is set to 30 Max
>> >> DefaultThreadPool is set to 200 min and 500 max
>> >>
>> >>
>> >> Thank you
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22461310.html
>> >> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22681515.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
>


Re: Trouble setting up Axis

2009-03-30 Thread chi runhua
Hi, just some thoughts here.

For 404 error, you might need to look into your deployment plan and verify
the value. Based on the information here, the 
should be axis2?

By the way it would be more helpful if you can provide linkage(package) of
your tutorial.

Jeff Chi


On Tue, Mar 31, 2009 at 9:27 AM,  wrote:

> I'm working a tutorial from IBM. I've got Geronimo running. I've have
> placed the axis2.war file in the deploy directory. The next instructions are
> to point my browser to
>
> http://localhost:8080/axis2/index.jsp
>
> I've set up Geronimo to listen on port 8090, so I changed that part.
> According to my instructions I should be seeing a particular web page, but
> instead I get a 404 error telling me:
>
> The requested resource (/axis2/index.jsp) is not available.
>
> Has anyone got some advice on how to proceed?
>
> Thanks.
>
> --
> Charles Knell
> ckn...@onebox.com - email
>


Trouble setting up Axis

2009-03-30 Thread cknell
I'm working a tutorial from IBM. I've got Geronimo running. I've have placed 
the axis2.war file in the deploy directory. The next instructions are to point 
my browser to 

http://localhost:8080/axis2/index.jsp

I've set up Geronimo to listen on port 8090, so I changed that part. According 
to my instructions I should be seeing a particular web page, but instead I get 
a 404 error telling me:

The requested resource (/axis2/index.jsp) is not available.

Has anyone got some advice on how to proceed?

Thanks.

-- 
Charles Knell
ckn...@onebox.com - email


Unsubscribe

2009-03-30 Thread David Martinez
On Sat, Mar 28, 2009 at 11:29 PM, Karsten Wutzke  wrote:

>
> Hello all,
>
> I'm completely new to Seam framework, however not Java and not JSTL and
> Servlets. I was wondering if it was possible to find a webhoster (virtual
> or
> dedicated server) to run *one* webserver with JavaEE/Seam/EJB/... (whatever
> you need for Seam apps) *and* PHP together!?
>
> This is for an experiment project. It is supposed to be implemented in two
> ways: one in Java/Seam framework, the other in PHP/Zend framework.
>
> I want to have the users choose between the Seam and Zend versions via
> subdomains
>
> seam.exampledomain.com
>
> and
>
> zend.exampledomain.com .
>
> Both would share the very same MySQL database. Is such a setup possible at
> all? I wonder which webserver could run Seam alsongside PHP...? Can JBoss
> do
> this? Do I need Apache with Geronimo running? Can JBoss integrate PHP?
>
> Any helpful help appreciated on this.
>
> Karsten
> --
> View this message in context:
> http://www.nabble.com/Seam-framework-and-PHP--Which-server-can-do--tp22762574s134p22762574.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: Geronimo loses data stored in HTTP Session

2009-03-30 Thread David Jencks


On Mar 30, 2009, at 12:30 PM, Asif10 wrote:

Hi, I have finally managed to get my geronimo server (geronimo- 
tomcat6-javaee5-2.1) up and running. I have installed my Struts2  
application which uses a MySQL datasource. Everything appeared to be  
working until i realised when my app stored info into the  
HTTPSession (via Struts2) it loses the information on the next call.  
So for example a user invokes a url, some data is stored. The user  
calls the url again but the data from the first call is lost. I also  
deployed this EAR file onto JBOSS and it works fine. Does anyone  
have any idea as to why Geronimo loses info stored in the HTTP  
Session Thanks in advance


I don't have any ideas why this might be happening but have a couple  
suggestions and questions...


-- can you use something like the firefox live http headers plugin to  
see if the session id is getting to the browser and if it is staying  
the same over several requests?
-- is the user authenticated when this happens?  are you using form  
auth?
-- can you provide a sample app showing the problem?  I'm pretty sure  
some session handling is working correctly since the admin console  
does let you login.


thanks
david jencks


View this message in context: Geronimo loses data stored in HTTP  
Session
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.




Geronimo loses data stored in HTTP Session

2009-03-30 Thread Asif10

Hi,
I have finally managed to get my geronimo server
(geronimo-tomcat6-javaee5-2.1) up and running. I have installed my Struts2
application which uses a MySQL datasource. Everything appeared to be working
until i realised when my app stored info into the HTTPSession (via Struts2)
it loses the information on the next call.

So for example a user invokes a url, some data is stored. The user calls the
url again but the data from the first call is lost. 

I also deployed this EAR file onto JBOSS and it works fine.

Does anyone have any idea as to why Geronimo loses info stored in the HTTP
Session

Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Geronimo-loses-data-stored-in-HTTP-Session-tp22791024s134p22791024.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: How to upgrade OpenJPA in Geronimo

2009-03-30 Thread Jason Warner
2.1.4 just passed a vote for release.  You should see a download pop up on
the downloads page sometime within the next day or two.

On Mon, Mar 30, 2009 at 1:08 PM, CG  wrote:

> Hi , any update of the status of 2.1.4 ? I came across geronimo
> roadmap wiki page, mention that 2.1.4 is scheduled to be released in
> Q1 2009 ... , jz would like to know the status 
>  thx
>
>  Cheers
>   CG
>
> On Sun, Feb 22, 2009 at 1:12 PM, chi runhua  wrote:
> > Hi GC,
> > Please look into this page for the latest status of Geronimo v2.1.4.
> > http://cwiki.apache.org/GMOxPMGT/geronimo-214-release-status.html
> >
> > Jeff
> >
> > On Fri, Feb 20, 2009 at 10:00 AM, CG  wrote:
> >>
> >> thanks for your reply ..., seems like I am going to stay with v1.0.3 ..
> >>
> >> any roadmap/schedule when the Geronimo v2.1.4 (which include updated
> >> openJPA) will be released ? because the 2.1.3 is abt 5 months old ...
> >>
> >> thanks..
> >>
> >> CG
> >>
> >> On Fri, Feb 20, 2009 at 1:45 AM, David Jencks 
> >> wrote:
> >> >
> >> > On Feb 19, 2009, at 9:00 AM, CG wrote:
> >> >
> >> >> Hi , the version of OpenJPA that come with Geronimo 2.1.3 is , 1.0.3
> .
> >> >> Since OpenJPA already release version 1.1 , 1.2 , I would like to
> >> >> manually upgrade openJPA in Geronimo to solve some issue cause by
> >> >> OpenJPA bugs.
> >> >>
> >> >> However, I have no idea how to do that. How should I do , to be able
> >> >> to upgrade the openJPA in Geronimo with version 1.2 ?
> >> >>
> >> >> Can I just put the openjpa-1.2.0.jar in
> >> >> GERONIMO_HOME/repository/org/apache/openjpa/openjpa/1.2.0/  ?
> >> >
> >> > You'll also need to tell geronimo to use the newer version by
> including
> >> > a
> >> > couple lines in var/config/artifact-aliases.properties.  See
> >> > http://cwiki.apache.org/GMOxDOC22/aliasing-modules.html
> >> >
> >> > We've had some mildly obscure problems with more recent openJPA
> releases
> >> > so
> >> > there's a chance you will be jumping from the frying pan into the
> fire.
> >> >  We
> >> > think we've ironed all these out in current openjpa code (1.2 branch?)
> >> > and
> >> > expect that 2.1.4 will include an up to date fully-working version.
> >> >
> >> > thanks
> >> > david jencks
> >> >
> >> >>
> >> >>
> >> >> Thanks.
> >> >>
> >> >> CG
> >> >
> >> >
> >
> >
>



-- 
~Jason Warner


Re: How to upgrade OpenJPA in Geronimo

2009-03-30 Thread CG
Hi , any update of the status of 2.1.4 ? I came across geronimo
roadmap wiki page, mention that 2.1.4 is scheduled to be released in
Q1 2009 ... , jz would like to know the status 
 thx

 Cheers
  CG

On Sun, Feb 22, 2009 at 1:12 PM, chi runhua  wrote:
> Hi GC,
> Please look into this page for the latest status of Geronimo v2.1.4.
> http://cwiki.apache.org/GMOxPMGT/geronimo-214-release-status.html
>
> Jeff
>
> On Fri, Feb 20, 2009 at 10:00 AM, CG  wrote:
>>
>> thanks for your reply ..., seems like I am going to stay with v1.0.3 ..
>>
>> any roadmap/schedule when the Geronimo v2.1.4 (which include updated
>> openJPA) will be released ? because the 2.1.3 is abt 5 months old ...
>>
>> thanks..
>>
>> CG
>>
>> On Fri, Feb 20, 2009 at 1:45 AM, David Jencks 
>> wrote:
>> >
>> > On Feb 19, 2009, at 9:00 AM, CG wrote:
>> >
>> >> Hi , the version of OpenJPA that come with Geronimo 2.1.3 is , 1.0.3 .
>> >> Since OpenJPA already release version 1.1 , 1.2 , I would like to
>> >> manually upgrade openJPA in Geronimo to solve some issue cause by
>> >> OpenJPA bugs.
>> >>
>> >> However, I have no idea how to do that. How should I do , to be able
>> >> to upgrade the openJPA in Geronimo with version 1.2 ?
>> >>
>> >> Can I just put the openjpa-1.2.0.jar in
>> >> GERONIMO_HOME/repository/org/apache/openjpa/openjpa/1.2.0/  ?
>> >
>> > You'll also need to tell geronimo to use the newer version by including
>> > a
>> > couple lines in var/config/artifact-aliases.properties.  See
>> > http://cwiki.apache.org/GMOxDOC22/aliasing-modules.html
>> >
>> > We've had some mildly obscure problems with more recent openJPA releases
>> > so
>> > there's a chance you will be jumping from the frying pan into the fire.
>> >  We
>> > think we've ironed all these out in current openjpa code (1.2 branch?)
>> > and
>> > expect that 2.1.4 will include an up to date fully-working version.
>> >
>> > thanks
>> > david jencks
>> >
>> >>
>> >>
>> >> Thanks.
>> >>
>> >> CG
>> >
>> >
>
>