[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-29 Thread stevecoh2
Just to finish my due diligence, are there any negative consequences of doing 
this, such as, adverse changes in log4j behavior?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897961#3897961

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897961


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-29 Thread stevecoh2
Thanks.  I believe we are getting closer to actual understanding of what is 
going on.

"jaikiran" wrote : You are defining a classloader for your APPLICATION and NOT 
for a specific package.  So whenver a class has to be loaded in your 
application, the classloader specified by you for the application will be used.
  | 

OK.  So without this entry in jboss-web.xml you are using the "default" 
classloader.  With this entry (named whatever I please) in my web app's 
jboss-web.xml, I cause my Web App to use its own class loader, which does NOT 
see classes with the same name loaded by the default class loader as the same, 
and thus does not see the conflicts.

Do I have that right?

This seems like the way I'd normally expect things to work in the first place.  
I wonder why it is not the default.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897955#3897955

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897955


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-29 Thread stevecoh2
OK. That explains what a JMX Object Name is.  

But I still want to understand how this works and I'm not clear on the concept 
yet.

1) Do I have to write MBean code to create a class loader to do my specific 
loading or is there already an MBean in existence that handles classloading 
according to some already defined scheme?  IN other words, does the presence of 
a  element properly formed in your jboss-web.xml file 
automatically cause a change in class loading for your application?  I presume 
so since putting an entry into my jboss-web.xml solved my problem.

2)  Assuming that there already is a class-loading MBean, does this particular 
MBean work by associating the domain in the JMX object name with a package 
root?  For example, suppose I want to have scoped class loading for the 
packages rooted at com.foo.bar and com.higgledy.piggledy but only for those two 
packages.  What would my jboss-web.xml then look like?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897919#3897919

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897919


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread stevecoh2
The syntax I proposed worked.

I guess I still have questions about what you've written though, in trying to 
understand.  

You have suggested as the contents of  the sample string 

noSpecificMeaning.anything:loader=anyName.anything

This implies that there is no meaning to any of the strings.  Yet this makes no 
sense whatsoever.  How could meaningless.string.1:loader=meangless.string.2 do 
anything useful at all?

I would assume that there is syntax and meaning to both sides of the equal sign:

x.y.z:loader=my.war

I would have assumed that this meant:

The loader for package x.y.z (and its subpackages) is to be found in the 
archive designated with the name my.war.  

However your post contained this quote:

 
anonymous wrote : The dot.com:loader=unique-archive-name are JMX ObjectName 
strings that have no significance other than that they must be unique to ensure 
unique class loading scopes. It might be useful to use the same name as used 
for the EAR/WAR-file. 

which indicates there is no necessary mapping to the war name, but that this is 
a way of ensuring a unique scope, different from others, for that package.

But if the text to the left of :loader does not mean the name of a package, 
what DOES it signify?  Then we are entering bizarro world, where an entirely 
arbitrary string causes the correct classloader to be used.

It seems clear that more and better documentation would be useful.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897781#3897781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897781


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread stevecoh2
thanks, janakiran.

You are very helpful.  I want to get completely clear, however.  jboss-web.xml 
would be deployed inside my.war.  Will the jboss class-loading mechanism still 
be able to find it since this fragment is pointing at the same war in which it 
is deployed.

Can you please confirm that the syntax I proposed in my previous message is 
correct, or at least, has no obvious flaw?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897738#3897738

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897738


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread stevecoh2
Thanks jaikiran.

This is helpful documentation.

However, it doesn't appear to fully explain my situation.  My situation is 
basically that which is labelled "Case 2":

Case 2. The Utility.class is present both in the application's archive AND 
server/default/lib. The deployment is non-scoped.

The short story: The version of the class available in 
server/default/lib/utility.jar will be used by the new deployment. The version 
of the class packed with the deployment will be ignored.

That is in fact what is happening.  But the result of this loading is that I 
get an IncompatibleClassChangeError.

Now, my situation possibly differs from case 2 in one respect.  My deployment 
archive is a WAR file, not an application (ear) file.  The document goes on to 
list WAR file deployment as a TODO.

I am thinking I could possibly solve this by using scoped class loading.  Is 
that what you are thinking?

If so, would this be the correct syntax?



   
  org.apache.commons.httpclient:loader=my.war
   
   
 

In this example "my.war" is the war file for which this fragment is the jboss 
descriptor.  If this is not correct, what is the correct way to do this?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897734#3897734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897734


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread stevecoh2
Thanks for getting back to me, raja05

I asked the same question on the HttpClient mailing list and got the opposite 
reply - they were highly doubtful that this would work.  Their recommendation 
was simply to repackage their source code, changing the root package name and 
storing this jar with our application libraries instead of the regular one.

However, if you are part of the jboss team, you may know more about this than 
they do.  May I ask if you are part of the jboss team?

I've looked in the Getting started manual for 3.2.x and find nothing under 
class loading, classloading or classloader.  Are you sure that's where the 
documentation is?  I did find lots of documentation on this subject JBoss Admin 
Guide, which I found confusing.

Here's what I'd like to be able to do:  without changing global classloading 
policies either on the server or globally within my application, say to JBoss,
"when you see any application code in a subpackage of 
org.apache.commons.httpclient, load this class from WEB-INF/lib, not from the 
parent classloader.  Is this possible, and if so, can you point me to some 
sample configuration where this is done?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897724#3897724

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897724


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat, HttpClient, and JBoss 3.2.1

2005-09-28 Thread stevecoh2
I answer posts in areas where I have expertise.  JBoss is not one of my strong 
areas.  This is an area where I need the expertise of others.  I would expect 
someome from the JBoss team to be able to provide an answer here.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897653#3897653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897653


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread stevecoh2
I see people reading this thread but can someone please ANSWER?  This is a 
serious problem and I need some guidance.

I need 
1) assurance, if someone can give it to me, that replacing HttpClient in JBoss 
3.2.1 with a more recent version is possible or assurance that it won't work

OR

2) more information on how to get the newer version of HttpClient to load 
within my application without affecting the entire classloading scheme of 
JBoss.  The JBoss wiki docs on this are insufficient for this purpose.

Can't someone offer some assistance here?  Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897634#3897634

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897634


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat, HttpClient, and JBoss 3.2.1

2005-09-28 Thread stevecoh2
I see people reading this thread but can someone please ANSWER?  This is a 
serious problem and I need some guidance.

I need 
1) assurance, if someone can give it to me, that replacing HttpClient in JBoss 
3.2.1 with a more recent version is possible or assurance that it won't work

OR

2) more information on how to get the newer version of HttpClient to load 
within my application without affecting the entire classloading scheme of 
JBoss.  The JBoss wiki docs on this are insufficient for this purpose.

Can't someone offer some assistance here?  Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897633#3897633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897633


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Tomcat, HttpClient, and JBoss 3.2.1

2005-09-27 Thread stevecoh2
commons-httpclient.jar is included with jboss in the {jboss.root}/lib directory 
of a jboss installation.  I believe that this is needed by Tomcat, which 
explains why JBoss puts it so high in the hierarchy.

This can present classloader problems if the application has need of a higher 
version of httpclient than the version that came with JBoss.

I am in a situation where I am forced to use JBoss 3.2.1 but client code needs 
HttpClient-2.0.  JBoss 3.2.1 ships with HttpClient 1.0.16.  I'd rather avoid 
any classloader isolation strategies if possible.  Does anyone know if 
HttpClient is stable and backward-compatible enough so as to allow the 
HttpClient jar that came with JBoss 3.2.1 (1.0.16) to be replaced by a 2.0.x 
version without messing Tomcat up?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897397#3897397

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897397


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-27 Thread stevecoh2
Really, has no one had this problem before?

We are in a situation where we do not control the version of jboss that is in 
deployment, so we are stuck with 3.2.1.  Yet we need to add application 
functionality that requires HttpClient 2.0, while JBoss 3.2.1 ships with 1.0.x.

By placing commons-httpclient.jar in /lib instead of /server/lib, JBoss makes 
it nearly impossible for applications to upgrade this libarary if they need it. 
 Can someone please tell me

1) whether it is possible to package a later version of HttpClient with my 
application and have it work without conflicts?  I've looked at the wiki about 
classloader isolation but I don't completely understand it.  Are you supposed 
to replace "unique-archive-name" with a unique archive name - and if so, where 
does this unique archive have to reside?

OR

2) Would it just be simpler to replace the commons-httpclient.jar in the /lib 
directory with the newer one and would that cause any problems for jboss and/or 
tomcat?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897349#3897349

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897349


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - ClassLoader Issue

2005-09-26 Thread stevecoh2
I am trying to deploy some new Application code into our JBoss application.  
Our developers work using JBoss 3.2.5 but the platform onto which it is 
deployed is JBoss 3.2.1.  We've had no problem with this until now, when we 
introduce some Application code that uses org.apache.commons.HttpClient.  This 
jar is included at the very top of the JBoss tree:  {jboss-root}/lib.  In 
3.2.1, commons-httpclient.jar is 51KB and it's manifest identifies it as 
implementation version 1.0.16.  In 3.2.5, the jar is 214KB and its manifest 
identifies it as 2.0-rc1.

The result of running in this environment is IncompatibleClassChangeError being 
thrown when our class that imports httpclient classes is first loaded.

It is possible that we could compile our code against the older version of 
httpclient and get it to work.  Then if we stopped putting 
commons-httpclient.jar in our war file, it might work.  But since the two 
versions of httpclient are so radically different, I'd rather go the other way 
if possible and avoid problems caused by now running the application code 
against an older version of HttpClient than it was developed against.  That is, 
for just this one class, bypass normal class loading and load the version in 
WEB-INF/lib.  

Will this work, and if so, how do I make it happen, and if not, what other 
alternatives do I have?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897160#3897160

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897160


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: application specific configuration data. Where is best

2005-08-22 Thread stevecoh2
Thanks again.  Can someone from the JBoss team confirm whether there are any 
negative effects caused by dropping config files that are usec by applications, 
not by jboss itself, into the directory specified by the 
jboss.server.config.url property?

Is this an officially sanctioned practice?

I would assume that jboss only opens files it is looking for here, unlike the 
deploy directory, in which I know that jboss tries to open everything.  But I'd 
like some confirmation of this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891013#3891013

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891013


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: application specific configuration data. Where is best

2005-08-22 Thread stevecoh2
Martin - thank you!

Are these documented somewhere in the JBoss docs?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891010#3891010

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891010


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: application specific configuration data. Where is best

2005-07-28 Thread stevecoh2
Further info here - what I am looking for is something like the 
PropertiesService.xml but which can read xml formatted data.
 And we are using JBoss 3.2

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887110#3887110

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887110


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - application specific configuration data. Where is best plac

2005-07-28 Thread stevecoh2

Our application has need of reading (not writing) application-specific, 
deployment-specific metadata from an xml file whose content would vary from one 
deployment site to another.

I would like to drop this file somewhere like the server/conf directory. Can 
this be done without causing problems? If so, is there some system within jboss 
code or metadata for accessing this directory programmatically?

Is there a better "jboss way" of doing something like this?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887107#3887107

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887107


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Accessing application-specific configuration data

2005-07-28 Thread stevecoh2
Our application has need of reading (not writing) application-specific, 
deployment-specific data from an xml file whose content would vary from one 
deployment site to another.

I would like to drop this file somewhere like the server/conf directory.  Can 
this be done without causing problems?  If so, is there some system within 
jboss code or metadata for accessing this directory programmatically?

Is there a better "jboss way" of doing something like this?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887071#3887071

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887071


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread stevecoh2
"[EMAIL PROTECTED]" wrote : There is a bug in (I think 3.2.5 and/or 3.2.6) that 
causes session timeout to stay at 30 minutes if you are also using cluster.  
I'm pretty sure this is fixed in 3.2.7.
  | 
  | Stan Silvert

Stan, is there a "bugzilla" or the equivalent for JBoss that you could point me 
at, where I could research this issue?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877165#3877165

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877165


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread stevecoh2
Hmm, that's interesting.  Our team's development workstations use 3.2.5 JBoss 
although the production site is at 3.2.1.  (Stupid, I know, but it hasn't 
caused many problems).  So, I'll ask, did this problem exist before 3.2.5?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877159#3877159

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877159


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-09 Thread stevecoh2
After doing a little further research, I can now confirm that the value that 
the JBoss web console displays is measured in seconds, which is different from 
how it is specified in web.xml (in minutes).  Changing the web.xml value to 
"60" caused the web console display to change to "3600".  So the discrepancy 
between web.xml and the web console is resolved and is a red herring.

I still need to know:
if the value in web.xml is not being respected, and sessions do not time out at 
the requested interval, where do I look next?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877045#3877045

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877045


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-09 Thread stevecoh2
Thanks, Scott.
However, I'm not sure it answers the question.

Here is the comment from  http://java.sun.com/dtd/web-app_2_3.dtd

"The session-timeout element defines the default session timeout
interval for all sessions created in this web application. The
specified timeout must be expressed in a whole number of minutes.
If the timeout is 0 or less, the container ensures the default
behaviour of sessions is never to time out."

Does the web-console display convert this number to seconds, or does it follow 
the same convention as what the DTD mandates?

By entering "1" I meant to specify a one-minute session timeout.  My main 
question then is, still, if this isn't working, that is, if the session does 
not time out in one minute, what other process could be causing this to be 
overridden?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877037#3877037

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877037


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-05 Thread stevecoh2
Can nobody answer this question?

If the session timeout value in web.xml is not being respected, what could be 
overriding it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876600#3876600

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876600


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Silly session timeout question

2005-05-03 Thread stevecoh2
I am trying to control the session timeout value of a webapp deployed under 
JBOSS 3.2.  I cannot get control.  I change the  value in 
web.xml and my session does not time out.  

When I look at the web-console entry for this web app Under "Current sessions 
statistics - Max inactive time" it says "60", but down below, where it shows 
the deployment descriptor it says:

1


The latter is correct.  This is at present simply deployed on a local jboss 
server with a local apache webserver.  What other configuration could be 
causing the web.xml session-timeout value to be ignored?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876337#3876337

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876337


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JavaMail in JBoss

2005-02-06 Thread stevecoh2
oops, I mean to say "What I'm finding is that jboss is possibly not involved at 
all".


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865472#3865472

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865472


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JavaMail in JBoss

2005-02-06 Thread stevecoh2
OK.  Several have read, nobody has answered.  I'm not complaining, nobody felt 
they had an answer.

So I've been digging in the bowels of jboss source to try to understand.  What 
I'm finding is that jboss is possibly not defined at all.  Since 
javax.mail.Transport is an abstract class, I was just assuming that JBoss 
defined a concrete implementation that was somehow linked in.  But that doesn't 
appear to be the case at all.  There does not appear to be any class in JBoss 
that inherits from Transport.  Instead, the JBoss mechanism appears to be a way 
to create a service that somehow interacts with the Transport layer without 
defining a concrete implementation.

So then, how does it work at all?
Let me ask a simpler question, even outside of the JBoss realm:
Transport.send() is a static wrapper around the real implementation.  If you've 
done nothing to define a concretel implementation, what concrete implementation 
is Transport.send() calling?  Sun's javadocs are completely mum about this.





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865471#3865471

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865471


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Unable to find a javac compiler;

2005-01-21 Thread stevecoh2
I am experiencing a similar problem.
OS Win/2K
JBoss Version 3.2.5
JBoss IDE version 1.4.0
Eclipse Version 3.0.1

Two problems:
First, on starting server

17:37:56,454 ERROR [HANamingService] Could not start on port 1100
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.(ServerSocket.java:185)
at  
org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:223)
...

If I ignore this and try to run my web app, I get on the web page:

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Yet:
U:\>set JAVA_HOME
JAVA_HOME=C:\j2sdk1.4.2_05

U:\>set JDK_HOME
JDK_HOME=C:\j2sdk1.4.2_05

Inside Eclipse, the "Window-Preferences-Java-Installed Runtime JREs"
also points at C:\j2sdk1.4.2_05.

What is this port 1100?  Nothing in my jboss-service.xml points there.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863203#3863203

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863203


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user