[JBoss-user] [EJB/JBoss] - Upgrading from 3.2.6 to 4.0.1

2005-03-31 Thread bbalmer
We have multiple JBoss servers running.  One (that runs an EJB) is still at 
3.2.6.

I have a web application running on another server and this is being upgraded 
to 4.0.1.  The ejb call to the 3.2.6 server is now not working on the 4.0.1 
server and I can't figure out why.

Here is how I am referencing it:

  | Hashtable props = new Hashtable();
  | try {
  |   props.put(
  | Context.INITIAL_CONTEXT_FACTORY,
  | "org.jnp.interfaces.NamingContextFactory");
  |   props.put(Context.PROVIDER_URL, IP + ":" + PORT);
  |   props.put(
  | Context.URL_PKG_PREFIXES,
  | "org.jboss.naming:org.jnp.interfaces");
  |   Context jndiContext = new InitialContext(props);
  |   Object objRef = jndiContext.lookup("PaymenTechHome");
  |   homeRef = 
  |   (PaymenTechHome) PortableRemoteObject.narrow(
  | objRef,
  | PaymenTechHome.class);
  | } catch (Exception E) {
  |   log.error(E.getMessage());
  | } finally {
  |   props = null;
  | }
  | 

The error I'm getting is:

  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | 
Any help would be greatly appreciated.

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

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


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Invalidate a session

2005-03-11 Thread bbalmer
I would like to not allow two users with the same usename to be in a web 
application at the same time.  Therefore what I was thinking was to keep a 
HashMap of username and session id in the application scope and on login check 
against this map.

What I was wondering is if there was a way to programatically pull a session id 
out of this HashMap and have the server automatically invalidate the session 
(instead of waiting for the user who is having their session invalidated submit 
a request and have to check for some global variable each time).

Basically I want to have the ability to kill other user's sessions.  Is this 
possible?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stateless Session Bean with dependent .jar

2005-03-04 Thread bbalmer
Please,

Does anybody know of a way to deploy a jar file within an EJB so that when 
JBoss deploys the EJB it does NOT deploy the jar file?

My EJB deployment looks like:
ProjectNameEJB.jar
--app (local code)
--META-INF
ejb-jar.xml
MANIFEST.MF
--lib
some_code.jar

Whenever I deploy the EJB jar file JBoss picks up the some_code.jar file and 
deploys it as well.  The classes here are in other .war files (already 
deployed) and this messes everything up.

Any help would be greatly appreciated.

Thanks.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Stateless Session Bean with dependent .jar

2005-03-02 Thread bbalmer
First, I'm using jboss-4.0.0 with:
true
true
false

I have an EJB that I want to deploy that has a copy of a .jar file.  This .jar 
file (with different versions) is deployed in multiple .war files on the server 
as well.

Whenever I try to deploy the .ejb JBoss deploys the .ejb as well as the 
internal .jar file, messing up all calls to functions within the .jar.

Is there a way to stop JBoss from taking the .jar in the .ejb and deploying it 
as a separate application?  I have a lib directory (which would get deployed in 
the classes directory) which holds the .jar file).  Is there another place to 
put this .jar?

Thanks for any help anybody can give.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stateless Session Bean with dependent .jar

2005-03-02 Thread bbalmer
Sorry, the jboss-service.xml attributes didn't come across:


  | 
  |   true
  |   true
  |   false
  | 
  | 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Clear security roles programatically

2005-02-21 Thread bbalmer
Thanks

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Clear security roles programatically

2005-02-21 Thread bbalmer
I tried what I saw in the wiki (I thought this was a similar post)
http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials 
but this didn't do the trick.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Clear security roles programatically

2005-02-21 Thread bbalmer
In my web.xml I have the following:

  |
  |  
  |HtmlAdaptor
  |/pages/management/*
  |GET
  |POST
  |  
  |  
  |RosyAdmin
  |  
  |
  |
  | 
  |
  |   BASIC
  |   Rosy
  |
  | 
  |
  |   RosyAdmin
  |
  | 

When a user enters the management area they are prompted for a 
username/password.  Fine.  Once they are out of the management area is there a 
way to clear this so that the next time they enter they are re-prompted?  I 
looked at the session and application headers set but found nothing that I 
could remove to do this.  Is this possible?

Thanks.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread bbalmer
Sorry for the misunderstanding.  

This works exactly as I had hoped.  Thank you for your help.

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread bbalmer
Thanks for your quick reply.  I changed my code to:

ObjectName scope = new ObjectName("jboss.jca:service=ManagedConnectionPool,*"); 

QueryExp exp = Query.initialSubString(Query.attr("Name"), null); 

Set set = server.queryNames(scope, exp);
  log.info("Found " + set.size() + " pools");

Iterator it = set.iterator();

while(it.hasNext())
  log.info(it.next());

And it still found 0 results.  Am I still doing something wrong?  Should I not be 
using Query.initialSubString?

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Retrieve listing of connection pools

2004-11-04 Thread bbalmer
I am having trouble dynamically finding all of the different connection pools that I 
have set up.  To get connection information I currently have each pool name 
hard-coded.  I would like to do a query to get all of the different pools but my query 
ALWAYS returns no value.

Here is a snipit of how I am querying:

ObjectName scope = new ObjectName("jboss.jca:service=ManagedConnectionPool");

QueryExp exp = Query.initialSubString(Query.attr("Name"), Query.value("jdbc"));

Set set = server.queryNames(scope, exp);

My set size is always empty.

Currently I fully name the ObjectName with:
jboss.jca:service=ManagedConnectionPool,name=jdbc/central 

I am able to get all information on the pool.

Any help with querying would be GREATLY appreciated.

Thanks.




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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - favicon.ico

2004-07-07 Thread bbalmer
I am using the 3.2.3 version and would like to know where I can/should place our 
favicon.ico so that it will display in the browser on the address bar?

I've already tried in the jbossweb-tomcat41.sar as well as the 
jbossweb-tomcat41.sar/META-INF directory.  I believe that it needs to be in the HTML 
root directory, but where?

Thanks.

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Struts/JBoss error

2004-02-26 Thread bbalmer
This isn't an issue with JBoss.  You should post this to the struts user list.

http://sourceforge.net/mail/?group_id=49385

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: InitialContext

2004-02-17 Thread bbalmer
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821844#3821844

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

How about:

String IP = ?;

String PORT = ?;



Hashtable props = new Hashtable();

props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");

props.put(Context.PROVIDER_URL, IP + ":" +PORT );

props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");

Context jndiContext = new InitialContext(props);


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user