[JBoss-user] [Beginners Corner] - Re: Retrieve the port number used by JBoss/Tomcat

2006-04-25 Thread danieldestro
no experts here?

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Retrieve the port number used by JBoss/Tomcat

2006-04-12 Thread danieldestro
How can I retrieve the port number used by JBoss/Tomcat within a Servlet or 
ServletContextListener?

I tried to find it in the System.getProperties(), but no information was 
available.

Thanks

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Connection pool leak in JBoss 3.2.5 ???

2005-12-22 Thread danieldestro
Hi all,

Something really strage is going on here.

We are using JBoss 3.2.5 as ou A.S., Oracle 9i (.2.0.3.0) as our D.B. and 
Oracle JDBC Driver version 10g release 2 (10.2.0.1.0), running on a Linux 
Debian 3.1 - Sarge (kernel 2.4.26-bf2.4 - no NPTL support).

We have 3 different applications running with 3 different datasources, one for 
each. One of them is perfectly running, but the other two apps have some 
problem sometimes.

We get this stack trace:

WARN [JBossManagedConnectionPool] Unable to fill pool
  | org.jboss.resource.JBossResourceException: Could not create connection; -
  | nested throwable: (java.sql.SQLException: ORA-01017: invalid 
username/password; logon denied )
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
  | at ...
  | caused by: java.sql.SQLException: ORA-01017: invalid username/password; 
logon denied
  | at oracle.jdbc.dbaccess.DBError.throwsSqlException(DBError.java:134)
  | ...

And 2 minutes later:

WARN [JBossManagedConnectionPool] Throwable while attempting to get a new 
connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; -
  | nested throwable: (java.sql.SQLException: ORA-01017: invalid 
username/password; logon denied )
  | at ...

The wierd thing is, this error is intermittent... the apps sometime work fine, 
sometime throw this exceptions.

Has anyone faced something like this?

I think it is either a problem (bug) of JBoss and/or JDBC driver, which is 
newer than the DB version.

ps: we are using a newer jdbc driver because version 9i does not allow BLOBs 
bigger than 2,048 bytes.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - How to limit number of consumers

2005-01-04 Thread danieldestro
Hello all,

I am using JBoss 3.0.3 and one Session Bean of my application puts a message 
into a JMS Queue. Then, the JBoss queue invoke a MDB to consume the message.

I would like to limit the number of MDBs executed at the same time.

Is it possible? Can you provide me any resource to learn how to?
Thanks

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Sharing EJBs and classes throught different EARs

2004-12-16 Thread danieldestro
I finally solved my problem.

What I did:

1) Created a JAR file with my shared HOME and REMOTE interfaces.
2) Deployed this JAR at server/default/deploy directory.
3) Create an EAR file for each one of the projects (GPA and CGE), without the 
shared interfaces.
4) Deployed the apps normally.
5) That works!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Sharing EJBs and classes throught different EARs

2004-12-10 Thread danieldestro
I made a mistake in the last code. The correct is:

Object o = ctx.lookup(ejb/MyCGEBean);
  | MyGPAHome home = (MyGPAHome) PortableRemoteObject.narrow( o, 
MyGPAHome.class );[\code]
  | 
  | The ClassCastException occurs in the last code line.

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user