[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss failing with log

2005-03-15 Thread trickard
We have resolved this problem with an upgrade to the JVM

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - JBoss failing with log

2005-03-07 Thread trickard
We are running JBoss3.2.5 on HPUX11.x. We upgraded last fall from 2.4.3 and 
have been running smoothly since the upgrade. We ran without problems for 
several years before the upgrade.

We recently made a small change to a web application and two ejbs that the web 
app uses. The webapp calls a new method added to one of the beans and this new 
method calls a new method added to the second bean.

The ear file has 100 or so beans. The ear was updated with the new files using 
the sun deploytool and redeployed to the dev and then tst environments.

Under some circumstances manipulating the web app causes the jboss jvm process 
to totally disappear. There are no messages written to the console or any log 
and there is no core dump for the process the PID just vanishes without a 
trace. 

The failure typically happens on an update in the web app and the display of 
the returned page just stops at some point and the java process that was 
running the jboss jvm is simply gone.

The new code works without errors until the jvm disappears.

What could client code do that would cause the failure of tomcat/jboss in this 
way. I didnt think it was possible for client code to do anything, however 
wrong, that would immediately kill the jboss/tomcat jvm.

We have had resource issues in the past but have always had failed threads 
announce their failure before dying and have never had anything kill tomcat or 
jboss.

Is anyone aware of this behavior anywhere.



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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss failing with log

2005-03-07 Thread trickard
I have a stack trace if anyone can see anything from this

13:44:54,258 INFO  [STDOUT] 3/7 01:44:54.257: Pricing Forms Request received (GC
HUMLEY at 10.101.101.30)

Unexpected Signal : 11 occurred at PC=0x78C1450C
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
http-devjb%2F10.101.1.10-8080-Processor25 daemon prio=7 tid=0059c738 nid=121 l
wp_id=1248290 runnable [0x5659e000..0x5659d4f0]
Stack_Trace: error while unwinding stack
( 0)  0xc678e9e4   report_error__FbPCciN22e + 0x64  [/opt/java1.4/jre/lib/PA_RIS
C2.0/server/libjvm.sl]
( 1)  0xc678e79c   report_should_not_reach_here__FPCci + 0x3c  [/opt/java1.4/jre
/lib/PA_RISC2.0/server/libjvm.sl]
( 2)  0xc67d0c50   sender__5frameCFP11RegisterMapP8CodeBlob + 0x1a0  [/opt/java1
.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 3)  0xc67cdaa0   real_sender__5frameCFP11RegisterMap + 0x20  [/opt/java1.4/jre
/lib/PA_RISC2.0/server/libjvm.sl]
( 4)  0xc6b42054   sender__6vframeCFv + 0x74  [/opt/java1.4/jre/lib/PA_RISC2.0/s
erver/libjvm.sl]
( 5)  0xc6b10738   last_java_vframe__10JavaThreadFP11RegisterMap + 0x138  [/opt/
java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 6)  0xc6b102ec   print_stack__10JavaThreadFv + 0x8c  [/opt/java1.4/jre/lib/PA_
RISC2.0/server/libjvm.sl]
( 7)  0xc6a22bdc   report_fatal_error__2osSFP12outputStreamPUci + 0x5ec  [/opt/j
ava1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 8)  0xc6a23aec   handle_unexpected_exception__2osSFP6ThreadiPUcPv + 0x654  [/o
pt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 9)  0xc6a2fdfc   JVM_handle_hpux_signal__Q2_2os4HpuxSFiP9__siginfoPvT1 + 0x8fc
  [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
(10)  0xc6a2b62c   signalHandler__Q2_2os4HpuxSFiP9__siginfoPv + 0x14  [/opt/java
1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
(11)  0xc020b6d0   _sigreturn  [/usr/lib/libc.2]
[error occured during error reporting]
Stack_Trace: error while unwinding stack
( 0)  0xc678e9e4   report_error__FbPCciN22e + 0x64  [/opt/java1.4/jre/lib/PA_RIS
C2.0/server/libjvm.sl]
( 1)  0xc678e79c   report_should_not_reach_here__FPCci + 0x3c  [/opt/java1.4/jre
/lib/PA_RISC2.0/server/libjvm.sl]
( 2)  0xc67d0c50   sender__5frameCFP11RegisterMapP8CodeBlob + 0x1a0  [/opt/java1
.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 3)  0xc67cdaa0   real_sender__5frameCFP11RegisterMap + 0x20  [/opt/java1.4/jre
/lib/PA_RISC2.0/server/libjvm.sl]
( 4)  0xc6b42054   sender__6vframeCFv + 0x74  [/opt/java1.4/jre/lib/PA_RISC2.0/s
erver/libjvm.sl]
( 5)  0xc6b10738   last_java_vframe__10JavaThreadFP11RegisterMap + 0x138  [/opt/
java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 6)  0xc6b102ec   print_stack__10JavaThreadFv + 0x8c  [/opt/java1.4/jre/lib/PA_
RISC2.0/server/libjvm.sl]
( 7)  0xc6a22bdc   report_fatal_error__2osSFP12outputStreamPUci + 0x5ec  [/opt/j
ava1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 8)  0xc6a23aec   handle_unexpected_exception__2osSFP6ThreadiPUcPv + 0x654  [/o
pt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
( 9)  0xc6a2fdfc   JVM_handle_hpux_signal__Q2_2os4HpuxSFiP9__siginfoPvT1 + 0x8fc
  [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
(10)  0xc6a2b62c   signalHandler__Q2_2os4HpuxSFiP9__siginfoPv + 0x14  [/opt/java
1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
(11)  0xc020b6d0   _sigreturn  [/usr/lib/libc.2]


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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Unreadable messages JDBC3 Persistence Manager

2005-01-13 Thread trickard
It appears that any message left in a topic when jboss is shutdown will never 
be sent by the system. It  appears in the message count in the jmx console but 
if mq must go back and load it from storage the message will never be sent to a 
receiver. When a subscriber connects with the appropriate clientID and 
subscription name if an internal ref to the message does not exist 
PersistenceMgr.loadFromStorage reads the jms_message_log table using keys  
messageid and destination. The destination value for topic messages with 
durable subscribers is '*' in jms_message_log. 

  |   try
  |   {
  |  c = this.getConnection();
  |  stmt = c.prepareStatement(SELECT_MESSAGE);
  |  stmt.setLong(1, messageRef.messageId);
  |  System.out.println(x + messageReg.getPersistnen
  |  
  |  stmt.setString(2, messageRef.getPersistentKey());
  | 
  |  rs = stmt.executeQuery();
  |  if (rs.next())
  | return extractMessage(rs, 2);
  | 
  |  return null;
  | 




The messageRef.getPersistentKey returns the destination from jms_reference_log 
(clientid, name, and selector), the row is never found and the function returns 
null. 

This also blocks any new messages that are added after the startup.


Messages written to topics with durable subscribers that are read before a 
shutdown work fine as the system has a ref of some sort and does not attempt to 
load from storage.



Is there a patch that makes this work anywhere that anyone knows of or should I 
just switch to JDBC2 which does not include the jms_reference_log table and 
hopefully works on restart

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

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


---
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] [Messaging, JMS JBossMQ] - Hung Messages

2005-01-11 Thread trickard
jboss-3.2.5, oracle datastore, jdbc3, hp-ux11.x

For some reason we have some messages for a durable subscription that I have 
not been able to receive. I was in a tight time frame (month end) and chose to 
read the blobs directly, create a new message and send it to a queue where they 
were processed correctly.



I need to remove those processed messages to prevent double processing. I still 
cant get them to receive using normal subscribers.  We have a 24/7 operation 
and I am not able to restart the production server until the weekend.  Can I 
simply remove the processed messages from jms_message_log and jms_reference_log 
using SQL or will that cause the messaging system to crash. New messages are 
being recieved all the time.

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

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


---
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] - Cast questions

2004-11-03 Thread trickard
I have a situation that works but I have no idea why. I am hoping for an explanation.

Our system has a session bean that manages an entity bean. All external calls pass 
through the session bean. There is an Info value object which is used to pass 
information into and out of the entity bean. The remote interface for the entity bean 
simply consists of a get and set method using this value object. 


  | public class ProductEligibilityInfo implements Serializable {
  | 
  | 
  |   private String  stock_code;
  |   private String  special_print_code;
  |   private Long  item_process_id;
  | ...
  | }
  | 
  | public interface ProductEligibility extends EJBObject {
  | 
  |   public ProductEligibilityInfo getInfo() throws RemoteException;
  | 
  |   public void setInfo(ProductEligibilityInfo rebate_info) throws RemoteException;
  | 
  | }
  | 
  | public class ProductEligibilityPK implements Externalizable, Serializable {
  |   private String stock_code;
  |   private String special_print_code;
  |   private long item_process_id;
  | ...
  | }
  | 
  | 



In one call the session bean calls a finder function on the entity bean and the entity 
bean returns an enumeration of PK objects. The session bean iterates through the 
enumeration and assigns the element (PK object) to a remote interface object (rif).  
rif.getInfo() is called and the returned object is assigned to a new vector. 


  | while (enumOfPK.hasMoreElements() )
  | {
  |   RemoteIF rif = (RemoteIF)enumOfPK.nextElement();
  |   vector.add(rif.getInfo());
  | }
  | 

This somehow works! How can I cast the PK object to a RemoteIF and not get a class 
cast exception.

When I step through the bean code , the eclipse debugger can identify each of the 
objects types correctly. This is what the debugger displays when I highlight the 
$Proxy object in the returned enumeration.

ProductEligibility:[ProductEligibilityPK: stock_code '   58T'
special_print_code '0005'
item_process_id '9']

When I highlight the vector that is being built with the rif.getInfo() call after the 
add the debugger displays.

[[ProductEligibilityInfo: stock_code '   58T'
special_print_code '0005'
item_process_id '4']]


The Info object and the PK object have identical data layouts which I guess is how we 
have lucked out for the last 3 years.





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

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


---
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=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Out of Memory Error

2004-10-11 Thread trickard
We have an unusual memory problem. I have to reduce JBoss's heap size to keep from 
running out of memory. We are running JBoss 3.2.5 on HPUX 11.11.  We are using JBossMQ 
and the internal Tomcat. We have a series of standalone java apps that produce and 
consume messages in addition to other apps that use ejb's. JBossMQ is using an oracle 
9i db for the datastore. The UNIX machine has 4GB of memory. The 
machine is dedicated to JBoss and 4 standalone java jms listener apps.

The failure scenario is as follows. 

App1, a standalone java app, gets information from a db table, sends the information 
to a servlet running in the internal tomcat which parses and packages the data and 
sends a jms message appropriate to the data. Some messages go to queue's others to 
topics with durable 
subscribers.

App2 is a standalone java app that durably subscribes to various topics, filters 
messages, reformats selected messages and places the reformatted messages on a queue.

App3 is a standalone java application that pulls some of App2's reformatted messages 
from the queue and applies business logic using ejb's.

Under moderate load, several thousand messages pending, all standalone java apps 
processing messages, 4000 to 5000 messages processed in this run,  we are receiving 
the following error

2004-09-14 13:33:04,131 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The 
GenericConnectionFactory is: [EMAIL PROTECTED] 
connectionProperties={UIL_ADDRESS_KEY=10.101.1.10, UIL_CHUNKSIZE_KEY=100, 
UIL_TCPNODELAY_KEY=yes, ClientILService=org.jboss.mq.il.uil2.UILClientILService, 
UIL_PORT_KEY=8093, UIL_BUFFERSIZE_KEY=2048, PingPeriod=6}]
2004-09-14 13:33:04,135 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
2004-09-14 13:33:04,137 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
2004-09-14 13:33:04,138 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2004-09-14 13:33:04,138 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
2004-09-14 13:33:04,138 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
2004-09-14 13:33:04,138 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2004-09-14 13:33:04,138 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2004-09-14 13:33:04,140 DEBUG [org.jboss.mq.il.uil2.SocketManager] Exiting on 
unexpected error in read task
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:296)
at java.lang.Thread.run(Thread.java:534)
20

JBoss is configured with 1GB of memory. When the system fails, HP GLANCE  reports 40% 
of physical memory free. JBoss reports 600 or so megs of free heapspace via the jboss 
web-console. There
are 1300 - 2000 active threads in JBoss. It appears that JBoss threads are being 
created and free'ed smoothly, the memory and thread number constantly 
increase/decrease. The unix box is configured to allow 6000 threads per process. File 
handles etc are greater than 20,000. The failures seem to follow a spike in threads 
but it is not necessarily related to the thread high water mark. It does not get to 
2000 threads and fail, it gets to 2000, drops back to 1300, spikes to 1500 and fails. 
The details are
of course different for every failure.

Paradoxically, if I reduce the JBoss heap to 384 megs the entire message run processes 
without error. The thread count is somewhat reduced and we dont seem to hit the wild 
fluctuations that seem to proceed a failure.

I am not sure what forum to place this in. Any ideas will be greatly appreciated.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Oracle XA Datasources

2004-07-22 Thread trickard
I have done as you suggested and debugged JBoss and have found that the xaResource 
datamember of XAManagedConnection is null. This value is set by the last statement in 
this function.


  | public XAManagedConnection(XAManagedConnectionFactory mcf, XAConnection 
xaConnection, Properties props,
  | int transactionIsolation, int psCacheSize, boolean 
doQueryTimeout) throws SQLException
  | {
  | super(mcf, xaConnection.getConnection(), props, transactionIsolation, 
psCacheSize, doQueryTimeout);
  | this.xaConnection = xaConnection;
  | xaConnection.addConnectionEventListener(new ConnectionEventListener()
  | {
  | public void connectionClosed(javax.sql.ConnectionEvent ce)
  | {
  | //only we can do this, ignore
  | }
  | 
  | public void connectionErrorOccurred(javax.sql.ConnectionEvent 
ce)
  | {
  | SQLException ex = ce.getSQLException();
  | broadcastConnectionError(ex);
  | }
  | });
  | this.xaResource = xaConnection.getXAResource();
  | }
  | 

xaConnection is an instance of oracle.jdbc.xa.client.OracleXAConnection. 
xaConnection.getXAResource is returning null on each call. 

The datamember, m_xarsrc, in xaCOnnection is null. What might be wrong in my 
configuration that would not tell Oracle that an XA resource is required.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Oracle XA Datasources

2004-07-21 Thread trickard
We cant seem to talk to and 8.1.7 database or a 9.2 database. When we access a bean 
method with a transaction attribute of 'required' we get the following error in 
server.log. I dont know if I have a configuration problem or there is a bug. The 'null 
pointer exception' showed up yesterday in the log when I turned on tracing for the 
transaction manager.
Any ideas would be greatly appreciated. I may try downing 3.2.1 and seeing if it works 
with my setup. These beans have been in production using JBoss 2.4.3 without problems 
for several years.



2004-07-20 12:56:46,392 TRACE [org.jboss.tm.TransactionImpl] Created new instance for 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-20 12:56:46,392 TRACE [org.jboss.tm.TxManager] began tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=urbpal1//2, BranchQual=] status=STATUS_ACTIVE
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=urbpal1//2, BranchQual=] status=STATUS_ACTIVE
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] Committing, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=], 
status=STATUS_ACTIVE
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] calling sync 0, [EMAIL 
PROTECTED]
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] calling sync 1, [EMAIL 
PROTECTED]
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] Before completion done, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=], 
status=STATUS_ACTIVE
2004-07-20 12:56:46,407 TRACE [org.jboss.tm.TransactionImpl] Zero phase commit: No 
resources.
2004-07-20 12:56:46,423 TRACE [org.jboss.tm.TransactionImpl] Committed OK, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-20 12:56:46,423 TRACE [org.jboss.tm.TxManager] suspended tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-20 12:56:46,423 TRACE [org.jboss.tm.TxManager] tx timeout is now: 300s
2004-07-20 12:56:52,158 TRACE [org.jboss.tm.TxManager] tx timeout is now: 0s
2004-07-20 12:56:52,158 TRACE [org.jboss.tm.TransactionImpl] Created new instance for 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//3, BranchQual=]
2004-07-20 12:56:52,158 TRACE [org.jboss.tm.TxManager] began tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//3, BranchQual=]
2004-07-20 12:56:52,173 INFO  [STDOUT]  DBG: 7/20 12:56:52: 1: 
JNDIDataSourceConnectionPool looking up: java:comp/env/jdbc/WarehouseDB...
2004-07-20 12:56:52,283 INFO  [STDOUT]  DBG: 7/20 12:56:52: 1: 
JNDIDataSourceConnectionPool got this DataSource: [EMAIL PROTECTED]
2004-07-20 12:56:52,283 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] 
internalRegisterPool: registering pool with interval 90 old interval: 45
2004-07-20 12:56:52,408 TRACE [org.jboss.tm.TransactionImpl] enlistResource(): 
Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//3, BranchQual=] 
status=STATUS_ACTIVE
2004-07-20 12:56:52,408 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl 
[FormatId=257, GlobalId=urbpal1//3, BranchQual=1]) entered: [EMAIL PROTECTED] flags=0
2004-07-20 12:56:52,408 TRACE [org.jboss.tm.TransactionImpl] unhandled throwable error 
in startResource
java.lang.NullPointerException
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:132)
at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)
at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:448)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
at 
solocup.sm.util.db.jndi_datasource_driver.JNDIDataSourceConnectionPool.getConnection(JNDIDataSourceConnectionPool.java:62)
at solocup.sm.warehouse.WarehouseBean.getConnection(WarehouseBean.java:429)
at solocup.sm.warehouse.WarehouseBean.ejbFindAll(WarehouseBean.java:237)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 

[JBoss-user] [JCA/JBoss] - Re: Oracle XA Datasources

2004-07-21 Thread trickard
I have read everything that I can find and have attempted to scrupulously follow the 
instructions. I hope this turns out to be a configuration issue but I cant find it. I 
believe the log from my previous post was misleading as I was using classes12.zip 
instead of ojdbc14.jar.  I have tried every combination and neglected to replace the 
jar before I ran the test that resulted in the log. We are using jdk1.4 and as per 
Oracles instructions should be using ojdbc14 rather than classes12. I have reviewed 
everything again and cant find anything wrong. This same call works with the 
oracle-ds.xml. 

Please note the oracle error.  I appreciate you reviewing the stuff it may well be 
something stupid I am doing but I have been looking at it off and on for a week and 
just cant find it.  Does this imply a configuration issue and if so in what module.



2004-07-21 12:49:55,140 TRACE [org.jboss.tm.TransactionImpl] Created new instance for 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=]
2004-07-21 12:49:55,140 TRACE [org.jboss.tm.TxManager] began tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=]
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=urbpal1//1, BranchQual=] status=STATUS_ACTIVE
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=urbpal1//1, BranchQual=] status=STATUS_ACTIVE
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] Committing, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=], 
status=STATUS_ACTIVE
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] calling sync 0, [EMAIL 
PROTECTED]
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] calling sync 1, [EMAIL 
PROTECTED]
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] Before completion done, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=], 
status=STATUS_ACTIVE
2004-07-21 12:49:55,171 TRACE [org.jboss.tm.TransactionImpl] Zero phase commit: No 
resources.
2004-07-21 12:49:55,187 TRACE [org.jboss.tm.TransactionImpl] Committed OK, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=]
2004-07-21 12:49:55,187 TRACE [org.jboss.tm.TxManager] suspended tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//1, BranchQual=]
2004-07-21 12:49:55,187 TRACE [org.jboss.tm.TxManager] tx timeout is now: 300s
2004-07-21 12:49:59,015 TRACE [org.jboss.tm.TxManager] tx timeout is now: 0s
2004-07-21 12:49:59,015 TRACE [org.jboss.tm.TransactionImpl] Created new instance for 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-21 12:49:59,015 TRACE [org.jboss.tm.TxManager] began tx: 
TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=]
2004-07-21 12:49:59,062 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] 
internalRegisterPool: registering pool with interval 90 old interval: 
9223372036854775807
2004-07-21 12:49:59,062 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] 
internalRegisterPool: about to notify thread: old next: 1090432649062, new next: 
1090432649062
2004-07-21 12:50:00,218 TRACE [org.jboss.tm.TransactionImpl] enlistResource(): 
Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=] 
status=STATUS_ACTIVE
2004-07-21 12:50:00,218 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl 
[FormatId=257, GlobalId=urbpal1//2, BranchQual=1]) entered: [EMAIL PROTECTED] flags=0
2004-07-21 12:50:00,328 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl 
[FormatId=257, GlobalId=urbpal1//2, BranchQual=1]) leaving: [EMAIL PROTECTED] flags=0
2004-07-21 12:50:00,328 WARN  [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=urbpal1//2, BranchQual=] 
errorCode=XAER_RMERR
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1159)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:311)
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:132)
at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)
at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:448)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)
at 

[JBoss-user] [JCA/JBoss] - Oracle XA Datasources

2004-07-20 Thread trickard
Has anyone gotten XA datasources to work with Oracle 9.2.03. and Jboss 3.2.x of any 
variety. 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Ear file libraries

2004-07-14 Thread trickard
In JBoss 3.2.4 I have packaged utility jars in the library of an EAR file. The EAR 
file was built using the SUN deploytool. The utility file was added to the ear's 
library by deploytool. The bean's in the ear cannot find the classes in the utility 
jars in the library. When I add the jars to the server/lib directory the beans can 
find them. Is there something in JBoss I must do to find classes in an ear file 
libarary.

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

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


---
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] [EJB/JBoss] - Deployment issues upgrading from 2.4.3 to 3.2.4

2004-07-02 Thread trickard
We have a group of beans that have been running in 2.4.3 for several years. We are 
upgrading to 3.2.4. The beans were deployed to JBOSS using the SUN deploytool. I have 
unpacked one EAR file which included 30 beans or so and am attempting to deploy one 
bean from the ear using the jar that was packed in ear by deploytool. The ejb-jar had 
an invalid coding scheme in the xml version line and I have removed that, otherwise it 
is the same bean that is running correctly in 2.4.3. The jar will not deploy.  I have 
listed the log entry below. Is there some tracing I can turn on to get more 
information on what is wrong.  Anyone know of any reason this should not deploy.

2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.DeploymentInfo] 
createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: 
JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, 
configParserClassName: null, repositoryConfig: null)
2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL 
with url file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar
2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] setRepository, 
[EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar 
,addedOrder=0}
2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] setRepository, 
[EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar 
,addedOrder=0}
2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding 
[EMAIL PROTECTED] 
url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar 
,addedOrder=0}
2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages 
of file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: 
file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] create step for 
deployment file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
2004-07-02 09:21:51,771 DEBUG [org.jboss.ejb.EJBDeployer] create, ejb-jar-ic9.jar
2004-07-02 09:21:51,880 DEBUG [org.jboss.ejb.EJBDeployer] Verifying 
file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
2004-07-02 09:21:51,943 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation: 
Bean   : Warehouse
Section: 9.2.9
Warning: The primary key class must override equals().

2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2004-07-02 09:21:51,943 ERROR [org.jboss.deployment.MainDeployer] could not create 
deployment: file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see 
above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
2004-07-02 09:21:51,958 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] 
Failed to deploy: 

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

2004-06-29 Thread trickard
Using jboss 3.2.4 on win2k with the file persistence manager. When I shut down jboss 
with a queue that has messages in the store, the queue is not restarted correctly when 
jboss restarts. I get the message

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
  state: FAILED
  I depend on: jboss.mq:service=MessageCache

  Depends On Me: jboss.mq:serice=DestinationManager
MBeanException: org.jboss.mq.SpyJMSException: Could not rebuild the queue from the 
queue's transaction.log.; - nested throwable: (java.lang.NullPointerException)

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

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


---
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