[JBoss-user] [HTTPD, Servlets JSP] - Re: accessing secured page

2004-08-22 Thread suo_jian
i have the same problem. and i want to write a servlet
 the web.xml sound that:
login-config
auth-methodFORM/auth-method
form-login-config
  form-login-page/servlet1/form-login-page
/form-login-config
  /login-config

and I write the Servlet1 to handle the login process,but how can i get the orignial 
url. for example:I come from 
http://www.sa.com/sample1.html?username=apassword=b
when the jboss redirect to the servlet,how can i get the above url and parm?

thank you

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845823#3845823

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845823


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: setting up nukes in Jboss/Eclipse IDE

2004-08-22 Thread dontrango
hi theute,

thanks a lot for your help, looks like it's getting closer to wrap this up. down with 
2 lines of error messages after tinkering for so long.

this structure is obtained using Nukes-1.1.0-RC3-src:
- Nukes
   |-src
   |-bb/src/main
   |-distrib/src/main
   |-downloads/src/main
   |-fag/src/main
   |-news/src/main
   |-nukes/src/main
   |-permission/src/main
   |-rss/src/main
   |-emplate/src/main
   |-JRE_LIB
   |- commons-httpclient.jar
   |- commons-loggin.jar
   |- concurrent.jar
   |- etopt.jar
   |- gnu-regex.jar
   |- jboss-boot.jar
   |- jboss-jmx.jar
   |- jboss-system.jar
   |- jdom.jar
   |- log4j-boot.jar
   |- webdavlib.jar
   |- xercesImpl.jar
   |- xml-apis.jar
   |- lucene.jar
   |- jboss.jar
   |- log4j.jar
   |- snmpTrapAppender.jar
   |- javax.servlet.jar
   |- bb   [2]
   |- build
  \- build.xml [1]
   |- ..
   |- tools
   |- lib 

where lib is where i imported the *.jar before i added them to the 
project-properties-java build path.

then i ran the build.xml (marked [1] above). got some 'unexplained errors'. solved by 
restarting eclipse.

these are the error messages:   

  | The type javax.transaction.Transaction cannot be resolved. It is indirectly 
referenced from required .class files   BBTools.java
Nukes/bb/src/main/org/jboss/nukes/addons/modules/bb line 0  August 22, 2004 
2:59:01 PM
  | 
  | The project was not built since its build path is incomplete. Cannot find the 
class file for javax.transaction.Transaction. Fix the build path then try building 
this project   Nukes August 22, 2004 2:59:01 PM
  | 
  | 
  | now 'bb/src/main/org.jboss.nukes.addons.modules.bb/BBTools.java' and 'bb/src' are 
marked with read x
  | 
  | i went to BBTools.java:
  | 
  | import org.jboss.nukes.addons.modules.bb.ejb.ForumEJBLocal;
  | import org.jboss.nukes.addons.modules.bb.ejb.CategoryEJBLocal;
  | import org.jboss.nukes.addons.modules.bb.ejb.CategoryEJBLocalHome;
  | import org.jboss.nukes.addons.modules.bb.ejb.ForumEJBLocalHome;
  | 
  | import javax.ejb.EJBLocalObject;
  | import javax.ejb.EJBLocalHome;
  | 
  |- the import org.jboss.nukes.ForumEjbLocal .. cannot be resolved
  |  but if i go to bb/output/classes/org/jboss/jnukes/addons/modules/bb/ejb/ 
(marked [2])
  |  those *.class files are there.
  |- the error on javax.ejb.* is even puzzling, i've added jboss.jar in the 
classpath
  | 
  | anonymous wrote : 
  |   | But that time, forget the wiki page and the .classpath just follow my 
instructions (and build the whole stuff), i tried it while explaining it here, so it 
must work for you too.
  |   | 
  | 
  | really appreciate to know how you pulled this off.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845824#3845824

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845824


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: setting up nukes in Jboss/Eclipse IDE

2004-08-22 Thread dontrango
More background info ( i gather from online forums these may matter ):

i imported the *.jar from jboss-3.2.3/ and nukes-1.1.0-RC3-src/ whenever possible.

under windows-preferences-ant-runtime-'ant home entries(default)' i have 
path_to_eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/*.jar


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845825#3845825

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845825


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: setting up nukes in Jboss/Eclipse IDE

2004-08-22 Thread dontrango
just added jboss.jar into the classpath. the error messages on javax.ejb.* and 
javax.transactions.* are gone, those that still remain are:

mport org.jboss.nukes.addons.modules.bb.ejb.ForumEJBLocal; 
import org.jboss.nukes.addons.modules.bb.ejb.CategoryEJBLocal; 
import org.jboss.nukes.addons.modules.bb.ejb.CategoryEJBLocalHome; 
import org.jboss.nukes.addons.modules.bb.ejb.ForumEJBLocalHome;

the latest structure structure is obtained using Nukes-1.1.0-RC3-src: 
- Nukes 
|-src 
|-bb/src/main 
|-distrib/src/main 
|-downloads/src/main 
|-fag/src/main 
|-news/src/main 
|-nukes/src/main 
|-permission/src/main 
|-rss/src/main 
|-emplate/src/main 
|-JRE_LIB 
|- commons-httpclient.jar 
|- commons-loggin.jar 
|- concurrent.jar 
|- etopt.jar 
|- gnu-regex.jar 
|- jboss-boot.jar 
|- jboss-jmx.jar 
|- jboss-system.jar 
|- jdom.jar 
|- log4j-boot.jar 
|- webdavlib.jar 
|- xercesImpl.jar 
|- xml-apis.jar 
|- lucene.jar 
|- jboss.jar 
|- log4j.jar 
|- snmpTrapAppender.jar 
|- javax.servlet.jar 
|- bb [2] 
|- build 
\- build.xml [1] 
|- .. 
|- tools 
|- lib
|- jboss.jar -- NEW

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845826#3845826

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845826


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: setting up nukes in Jboss/Eclipse IDE

2004-08-22 Thread dontrango
hi theute, thanks a lot for your help :)

turns out that i needed to run this
- build.xml in Nukes/build
- added the create bb/output/lib/nukes-bb-lib.jar ... nukes-downloads-lib.jar and 
other jboss *.jar files.

no more error messages, only warning which i suppose can be ignored.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845827#3845827

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845827


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Default password/login for ejb access

2004-08-22 Thread balteo
Hello,

Can anyone tell me what is the default password/login in order to access and ejb i.e. 
the values for the following variables:

Context.SECURITY_PRINCIPAL
Context.SECURITY_CREDENTIALS

Thanks in advance,

Julien.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845829#3845829

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845829


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Basic question about security

2004-08-22 Thread albert_steed
Hello,

I noticed that the values for SECURITY_PRINCIPAL and SECURITY_CREDENTIALS specified by 
my app are not taken into account. 

Here is a snippet from my app:


  | p.put(Context.SECURITY_PRINCIPAL,sa);
  | p.put(Context.SECURITY_CREDENTIALS,WRONG); 
  | 

This allows me to connect to the ejb even if the value for SECURITY_CREDENTIALS is 
wrong.

Can anyone tell me why?

Thanks in advance,

Albert.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845828#3845828

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845828


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Viewing all loaded classes in the classloader repository

2004-08-22 Thread albert_steed
Hello,
Is there a jmx-console command that can be used to view all classes loader in the 
repository?
Albert.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845830#3845830

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845830


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Problem with login-config.xml

2004-08-22 Thread Dymon
Hi all,

I faced this problem too, and I have been doing some investigations :)

This null pointer exception occured only on the client side of my j2ee app. The 
login-config.xml was present on the server too as part of jaas authentication - 
{jboss}/server/default/config/, but there - no exception.
I noticed that if I put jboss.jar in the client classpath, the error misteriously 
dissapears... Browsing the files in jboss.jar I found some dtds, and one 
particullarily interesting - /org/jboss/metadata/security_config.dtd. Combined with 
the following snippet from XMLLoginConfigImpl.java:


  |/** Local entity resolver to handle the security-policy DTD public id.
  | */
  |private static class LocalResolver implements EntityResolver
  |{
  |   private static final String LOGIN_CIONFIG_PUBLIC_ID = -//JBoss//DTD JBOSS 
Security Config 3.0//EN;
  |   private static final String LOGIN_CIONFIG_DTD_NAME = 
/org/jboss/metadata/security_config.dtd;
  | [...]
  | 

I'm not an XML expert myself, but I think this resolver expects security_config.dtd 
to be at a specific location in the classpath, namely: /org/jboss/metadata/

So the solution, (or workaround ?) would be to put the dtd where it is expected to be.
In my app, I created an additional folder on the client side - /org/jboss/metadata/, 
put the dtd in there, and added the folder to the client's classpath. Works fine.
Another approach would be to include this folder into an existing jar, on the client's 
classpath.

That's it,
Cheers

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845834#3845834

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845834


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Default password/login for ejb access

2004-08-22 Thread [EMAIL PROTECTED]
There is no default username/password, and the InitialContext is not the mechanism for 
providing the authentication information. Read the JAAS Howto topic in this forum.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845838#3845838

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845838


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - cluster entity beans: what is clustered exactly?

2004-08-22 Thread pedrosalazar
Greetings,

I deployed a set of entity beans in my jboss as clustered beans. I have also a 
stateless session bean which handles those entity beans (local interfaces). I was 
wondering what information is really clustered for entity beans in cluster (in real, 
my entity beans are flagged as cluster but they extends the Standard CMP 2.x 
EntityBean with cache invalidation rather than Clustered CMP 2.x EntityBeanbecause I 
need cache invalidation...), since entity information cannot be replicated since I 
have only local interfaces (and I don't know if it makes sense since data is database).

I could be doing a big confusion here but if information is not passed by value from 
one instance to the other one (local interfaces), is jboss passing any kind of 
information to the another jboss instances to prepare/load those referenced entity 
beans instances, in case of future requests and load-balancing issues?

If I am not mistaken, I read something about only homes are prepared on cluster. Is 
this correct?
What is the real advantage of doing it against the non-clustered beans? I mean, in a 
jboss instance I only can access the entity beans in that instance since I'm using 
only local interfaces. So, the current jboss instance never requests any information 
from another instances (weight load-balancing issues), unless for locality/time cache 
references.

regards,
Pedro Salazar.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845842#3845842

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845842


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Basic question about security

2004-08-22 Thread [EMAIL PROTECTED]
Start with the JAAS Howto topic in this forum.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845843#3845843

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845843


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: EJB-QL - IS EMPTY

2004-08-22 Thread sbrbot
Standard IS NULL instead of IS EMPTY works just fine with EJBQL. BTW, I'm not sure 
if there exist this EMPTY in SQL syntax at all.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845845#3845845

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845845


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Who handles the login request????

2004-08-22 Thread skifan
which class is for Jetty?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845846#3845846

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845846


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: BLOBs and Transactions

2004-08-22 Thread sbrbot
Then something wierd is happenong there, sounds like a bug but send something more ... 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845847#3845847

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845847


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - CMP operations with application related database users

2004-08-22 Thread chlabreu
Hi, 
Is there any way to instruct JBoss to execute every CMP database write operation using 
a database user related to the application user instead of one master database user 
for all applicaton users?

thanks in advance


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845848#3845848

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845848


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Urgent production issue regarding to jboss security

2004-08-22 Thread [EMAIL PROTECTED]
I have fixed this issue for 3.2.6RC2. Its still not clear why you needed to run with a 
security manager in the first place.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845849#3845849

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845849


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Problem in Deploying MyBank

2004-08-22 Thread vashistvishal
You are missing some librarires on classpath and add it in server file of lomboz..
By this error it looks to me its u are missing gnu-regexp.jar on yr path.. 

I hope this helps..
Vishal

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845856#3845856

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845856


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Is this problem solved in JBoss 4.0

2004-08-22 Thread ltcmelo
Hi,
i've been dealling with a quite complex problem on JBoss 3.2.3/ Tomcat 4.2, which is 
described right here.

http://www.jboss.org/index.html?module=bbop=viewtopict=53202

Does anyone know if this problem persists on JBoss 4.0?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845857#3845857

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845857


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JMS and HTTPServerILService

2004-08-22 Thread skidvd
Hello:

I am trying to get JMS working across the HTTPServerILService.  I have
been reading the Admin and Devel Guide as well as the Messaging, JMS
and JBossMQ forum and http://jboss.org/wiki/Wiki.jsp?page=ConfigHTTPIL
as references. I feel that I am fairly close to getting this to work,
but I am also still not successful.  My JMS client pubs successfully,
but I get the following exception on the server side:

17:25:43,743 ERROR [JMSContainerInvoker] Exception in JMSCI message
listener
java.lang.NullPointerException
at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:446)
at
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
at org.jboss.ejb.Container.invoke(Container.java:723)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1208)
at
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:871)
at
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
at org.jboss.mq.SpySession.run(SpySession.java:347)
at
org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:534)

I have added the following additional loggers to the 
$JBOSS_DIST/server/default/conf.log4j.xml:

   category name=org.jboss.mq
  |  priority value=DEBUG/
  |/category
  |category name=org.jboss.jms
  |  priority value=DEBUG/
  |/category
  |category name=org.jboss.ejb.plugins.jms
  |  priority value=DEBUG/
  |/category
  |category name=org.jboss.ejb.MessageDrivenContainer
  |  priority value=DEBUG/
  |/category

However, they did not seem to produce any additional output relative to
the above exception.

The other relevant files are as follows:

$JBOSS_DIST/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml:

server
  | mbean code=org.jboss.mq.il.http.HTTPServerILService
  |  name=jboss.mq:service=InvocationLayer,type=HTTP
  | depends
  | optional-attribute-name=Invokerjboss.mq:service=Invoker/depends
  | dependsjboss.web:service=WebServer/depends
  | attribute
  | name=ConnectionFactoryJNDIRefHTTPConnectionFactory/attribute
  | attribute
  | name=XAConnectionFactoryJNDIRefHTTPXAConnectionFactory/attribute
  | attribute name=PingPeriod0/attribute
  | attribute name=TimeOut60/attribute
  | attribute name=RestInterval0/attribute
  | attribute name=URLPrefixhttps:///attribute
  | attribute name=URLSuffix:8433/HTTPServerILServlet/attribute
  | !-- attribute name=UseHostNametrue/attribute --
  | attribute name=UseHostNamefalse/attribute
  |   /mbean
  | /server

$JBOSS_DIST/server/default/conf/standardjboss.xml additions:

  !-- A custom invoker for JMS/HTTPs --
  |   |   invoker-proxy-binding
  |   |  namemessage-driven-bean-https/name
  |   |  invoker-mbean
  |   |  jboss.mq:service=InvocationLayer,type=HTTP
  |   |  /invoker-mbean
  |   |  !-- invoker-mbeandefault/invoker-mbean --
  |   | 
  |   | proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory
  |   |  proxy-factory-config
  |   |
  |   | JMSProviderAdapterJNDIDefaultJMSProvider/JMSProviderAdapterJNDI
  |   |
  |   | ServerSessionPoolFactoryJNDIStdJMSPool/ServerSessionPoolFactoryJNDI
  |   | !-- WARN: Don't set this to zero until a bug in the pooled
  |   | executor is fixed --
  |   | MinimumSize1/MinimumSize
  |   | MaximumSize15/MaximumSize
  |   | KeepAliveMillis3/KeepAliveMillis
  |   | MaxMessages1/MaxMessages
  |   | MDBConfig
  |   |ReconnectIntervalSec10/ReconnectIntervalSec
  |   |DLQConfig
  |   |   DestinationQueuequeue/DLQ/DestinationQueue
  |   |   MaxTimesRedelivered10/MaxTimesRedelivered
  |   |   TimeToLive0/TimeToLive
  |   |/DLQConfig
  |   | /MDBConfig
  |   |  /proxy-factory-config
  |   |   /invoker-proxy-binding
  |   | 
  |   |   container-configuration
  |   |   container-nameHTTPS Message Driven Bean/container-name
  |   |   call-loggingtrue/call-logging
  |   |  
  |   | 
invoker-proxy-binding-namemessage-driven-bean-https/invoker-proxy-binding-name
  |   |  
  |   | instance-poolorg.jboss.ejb.plugins.MessageDrivenInstancePool/instance-pool
  |   |   instance-cache/instance-cache
  |   |   

[JBoss-user] [Installation Configuration] - JBoss 3.2.5 and Dom4J

2004-08-22 Thread tweise
JBoss 3.2.5 switched from Jdom to dom4j, and ships with a version of dom4j, which 
appears to be 1.3-patched. This particular version contains bugs which were fixed in 
1.4.
 
We were using a dom4j version 1.4 prior to the upgrade and our code regressed due to 
the JBoss kernel supplied version.
 
Since now dom4j.jar sits in the boot classpath under ${jboss.home}/lib there does not 
seem to be any other way to override it with our version than to replace it. I do not 
really like to change things in the core JBoss but this is what we ended up doing and 
there is no other choice, correct?
 
I imagine dom4j is widely used and others may have run into the same issue?
 
Will there be a change to this in an upcoming release? When Hibernate is going to 
become a core part, how will dom4j sitting in the boot path agree with it (due to the 
class loading tie).
 
Any info or advice on this would be greatly appreciated!
 
Thanks,
Thomas


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845860#3845860

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845860


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Regular expression problem

2004-08-22 Thread ltcmelo
Hi,
i'm trying to use a regular expression in my web.xml deployment descriptor, but i'm 
getting a error at deploy time.

Here's what i wanna do:
I have a servlet filter that must be executed for ALL urls of my application except 
for the login.jsp. Then, i tried something like this (and other variations).

  | filter-mapping
  | filter-nameInitializationFilter/filter-name
  | url-pattern/*[^/login.jsp]/url-pattern
  | /filter-mapping   
  | 

I also tried some very simple regular exception, but JBoss would always give me a 
deploy error.

What am i doing wrong???

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845861#3845861

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845861


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - JSP cached

2004-08-22 Thread goran62
I am using JBoss-3.2.5. One of my JSPs presents a list of objects retreived from a 
database.  I am using the same JSP for different types of objects. Running the JSP for 
the first type of objects shows a list of all retreived objects. The list of the 
retreived objects for the second type of objects is empty and when I run the same JSP, 
instead of presenting an empty list of objects, it still shows the list of the 
previous objects. Is there any configuration parameter I can use to disable this kind 
of caching. I started having this problem since JBoss 3.0.8 release with Tomcat. I 
have never had this kind of problem with Jetty (JBoss 3.0.7 and earlier releases).

Thanks,
Goran

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845862#3845862

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845862


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user