[JBoss-user] [Installation & Configuration] - Re: dual processor and single processor behaviour

2004-09-08 Thread shortpasta
if this makes you feel better, i've seen 0 leaks on both a 2 cpu and 4 cpu windows 
system.

i started both installations with 3.2.4.RC1 and then upgraded to 3.2.4.RC1.

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

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


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


[JBoss-user] [JCA/JBoss] - Re: inet opta XADataSource problem

2004-09-08 Thread [EMAIL PROTECTED]
It looks like a bug in driver:

anonymous wrote : 
  | 2004-09-02 17:40:21,168 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl 
[FormatId=257, GlobalId=B000BCD6F897F//30, BranchQual=1]) leaving: [EMAIL PROTECTED] 
flags=0
  | 2004-09-02 17:40:21,168 WARN [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=B000BCD6F897F//30, BranchQual=] 
errorCode=XA_UNKNOWN(0)
  | javax.transaction.xa.XAException: [EMALONMSQ25]Cannot enlist in the transaction 
because the transaction does not exist.
  | at com.inet.tds.o.if(Unknown Source)
  | at com.inet.tds.o.start(Unknown Source)
  | 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) 
  | 

JBoss is telling the XAResource about a new transaction/xid (flags=0)
so why it should complain about "transaction does not exist" is anybody's guess?

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

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


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


[JBoss-user] [Nukes User] - updating web-console/jmx-console properties

2004-09-08 Thread kle
Hiya,
now that i have nukes installed i am trying to create a website from what i assume is 
the default, index.html.

when i try to update values in the jmx-console/web-console using the invoke button for 
the update mbean i get the following error. I am not putting any arguments in for the 
mbean. the block i am trying to update is menu, adding another like under the 'Home' 
link.


  | javax.servlet.ServletException: Failed to invoke operation
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:248)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
  | at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  | at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
  | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
  | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
  | at java.lang.Thread.run(Thread.java:536)
  | 
  | 
  | root cause 
  | 
  | javax.management.IntrospectionException: Failed to find PropertyEditor for type: 
org.jboss.nukes.html.Page
  | at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:228)
  | at org.j

[JBoss-user] [JCA/JBoss] - Re: Could not enlist in transaction on entering meta-aware o

2004-09-08 Thread [EMAIL PROTECTED]
-3 is resource manager error. i.e. a generic error

You have a configuration problem or a database failure, check the Oracle logs.
Also see the FAQ for the checklist on configuring OracleXA.

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

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


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


[JBoss-user] [JCA/JBoss] - Re: ConnectionManager can´t close connection

2004-09-08 Thread [EMAIL PROTECTED]
I would say so.

The only reason close() is allowed to through an SQLException is if it cannot contact
the database.

I'd report it as a bug to IBM.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to configure MDB to talk to a Remote Topic?

2004-09-08 Thread JRobette
Hi vindiayns,

I'm facing the same problem as yours...

Did you find a solution?

Thanks

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do I destroy a TemporaryQueue on the server?

2004-09-08 Thread [EMAIL PROTECTED]
Use a TemporaryQueue, naturally. 

But only the client/session creating the temporary queue can receive from it/delete it.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: YO! - mdb deployment trouble

2004-09-08 Thread [EMAIL PROTECTED]
That configuration is not deployed (yet?) otherwise you wouldn't get this error 
message.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can't get MDB listening to a remote Queue !

2004-09-08 Thread [EMAIL PROTECTED]
You cannot use java:/XAConnectionFactory remotely. Use XAConnectionFactory.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Accessing JBoss message queue from WAS on AS/400?

2004-09-08 Thread [EMAIL PROTECTED]
WAS uses WSMQ/MQSeries, see the FAQ.

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

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


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


[JBoss-user] [EJB/JBoss] - Updating an application on a busy server

2004-09-08 Thread MSchlierf
Hi,
I have a portal which is visited very frequently.
Lets say every second a user is visiting a page on this server.

I have to update this web application often.

IÂm updating this by simply replacing the ear file in the deploy dir on the server.
So the application is undeployed and redeployed.
while the ear file is redeployed i sometimes get error messsages.
I think itÂs because some parts of the application are already deployed while others 
are still missing.

What is the right procedure to update such an application?
How can i add an "currently under maintainance" page if somebody connects while iÂm 
updating?

Sorry for my english, iÂm german :-)





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

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


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


[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.1 cluster-wide hot-deployment

2004-09-08 Thread mpopet
Hi,
I'm using JBoss 3.2.3 and also noticed a bug with hot redeployment.
It goes like this:
  Working with a two-node cluster, deploy jar on ./farm of node1, it gets deployed on 
./farm of node2.
 If updating the jar on node1, redeployment occurs on both node1 and node2.
 Buf if updating the jar on node2, redeployment is successfull only on node2, while on 
node1, it is only deleted.

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

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


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


[JBoss-user] [Beginners Corner] - Re: how to run?

2004-09-08 Thread darranl
Depends on what your application requires from the application server.

If it is a standard J2EE application minor changes to deployment descriptors may be 
required or if you are lucky it might run out of the box.

If you have used proprietry features of Tomcat or JRun additional coding may be 
required to migrate your app.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Cannot bring up the jmx-console

2004-09-08 Thread darranl
Is JAVA_HOME set?

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

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


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


[JBoss-user] [EJB/JBoss] - Re: CMP, JBoss & MySql problems

2004-09-08 Thread darranl
Try mySQL not MySQL

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

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


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


[JBoss-user] [Beginners Corner] - JBoss in Background

2004-09-08 Thread pericodelgado
Hello,

I have JBoss 3.0.6 and I want to run it in background (not in a console window) or 
from a OS service. Anybody knows how can I do it?

Thanks

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

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


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


[JBoss-user] [Beginners Corner] - Re: setting the default Timezone

2004-09-08 Thread nxs
Mork calling Orson...come in Orson.

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

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


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


[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread pericodelgado
Windows 2003 Server

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

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


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


[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread darranl
Which OS?

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

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


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


[JBoss-user] [Beginners Corner] - Re: dev w/ jboss3.2.1 on pc, move to production ....

2004-09-08 Thread darranl
Why are you going straight to production on a different version, you should be 
developing / testing against the version you will be using.

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

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


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


[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread kabkhan
Never tried myself, but look at 

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

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


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


[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread kabkhan
... http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows

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

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


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


[JBoss-user] [JBoss Getting Started Documentation] - is there any folder like APP-INF in JBoss

2004-09-08 Thread [EMAIL PROTECTED]
is there any folder like APP-INF(which in weblogic ) in JBoss
It's so urgent
thanks in advance

with cheers
hari

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: security-domain for datasource

2004-09-08 Thread yuriyg
Wrong. Correct answer is CallerIdentityLoginModule.

But... Sorry, additional comments: we also needs method permissions. If I use these 
then I've got just exception. It seems like my credentials for connection are eaten by 
j2ee security.

NB: I have the same exception in either cases: either when I copy code of 
CallerIdentityLoginModule to "my" module or when I just modify 
CallerIdentityLoginModule and add here implementation of getRoleSets.

12:30:24,459 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a 
new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (java.sql.SQLException: Null user or password not supported in THIN
driver)
at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)

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

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


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


[JBoss-user] [Installation & Configuration] - Re: JBoss' org.jboss.logging.appender.DailyRollingFileAppend

2004-09-08 Thread miffel
Try to use the Append=true setting in log4j.xml.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can't get MDB listening to a remote Queue !

2004-09-08 Thread JRobette
OK, it works...

Thanks a lot. 

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

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


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


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-08 Thread jamesstrachan
It's very difficult to tell what is happening here.

It could be a database locking problem.  You can test this using SQL commands outside 
the application server.

Or it could be a JBoss locking problem, as JBoss also operates a locking strategy on 
entity beans.

Or it could be a locking problem on the message queues if placing the message from 
MDB1 to MDB2 on the queue is included in the uncommitted transaction.

And how are you preventing the commit executing in the first MDB ?  Normally, the 
transaction would automatically commit once the onMessage() method runs to completion. 
 

Either way, the real problem is that you are trying to carry out a second operation 
(in the second MDB) on the entity bean before completing the first.

I would suggest two alternatives :-

1.  Perform a commit in the first MDB (which should include the three operations of 
removing Message 1 from the queue, updating the entity bean and enqueing the message 
to MDB2).  Then MDB2 has a clean operation.

2.  Refactor so that the work done in MDB2 is performed iin MDB1.

James






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

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


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


[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.5 Throws IP_MULTICAST_IF address not bound

2004-09-08 Thread crl42
I got the same problem.
There are truobles in binding the ANY_ADDR 0.0.0.0 to multicast socket when in the 
kernel the ipv6 is active.
If you disable ipv6 from kernel the binding of multicast is ok and the services 
related to 'all' configuration runs smooth.



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

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


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


[JBoss-user] [Installation & Configuration] - Re: Problems starting AutomaticDiscovery on Mac OSX 10.3

2004-09-08 Thread crl42
I got the same problem and I don't want to modify the startup script, so I worked more 
till I found the origin of error.
The problem is in binding the ANY_ADDR 0.0.0.0 to multicast socket on a linux kernel 
with ipv6 enabled.
If you disable ipv6 from kernel the binding of multicast is ok and the services 
related to 'all' configuration runs smooth.



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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Error in persistence with MySQL and persisting performance i

2004-09-08 Thread ahanys
Hello,
   
   I have a big problem with JBossMQ. I send 1 messages to the queue and for 
persistence I use database MySQL 4.0.18 a Connector/J 3.0.15GA.
In MySQL I'm using innoDB tables which supports transactions.

Somebody on JBoss bugs list say to me that problem is in driver od database doesn't 
support transaction. But innoDB YES!
If I suppose that database driver is OK that the error is in JBoss.


Second question before I restarted the JBoss I send 1 messages to the queue. This 
sending takes time about 530 seconds. It's about 20 messages per 
second!! It is VERY VERY SLOW

For our project unacceptable!

Before I use innoDB table type. I used MyISAM and performance was
300 messages per second. This will be OK for us!!



But excetion below began showing and queue never started from that time. 

Exception shows if I use both table types MyISAM and innoDB.

Have anybody some help for me.

Thanks in advance.

John Cage

PS: I tried for out project to use another JMS systems like sun one message queue 
which fails because keeps in memory references on messages, and. xmlBlaster, I hope 
that JBoss will not be the next.





** BEGIN NESTED EXCEPTION ** 

java.lang.ArrayIndexOutOfBoundsException
MESSAGE: 1891

STACKTRACE:

java.lang.ArrayIndexOutOfBoundsException: 1891
at com.mysql.jdbc.Buffer.readnBytes(Buffer.java:440)
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:419)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:243)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1156)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2030)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1563)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:296)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:454)
at org.jboss.mq.server.JMSQueue.(JMSQueue.java:44)
at org.jboss.mq.server.jmx.Queue.startService(Queue.java:79)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:582)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:848)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:373)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at org.jboss.system.ServiceController.start(ServiceController.java:395)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:582)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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:582)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at or

[JBoss-user] [EJB/JBoss] - NullPointerException when calling new InitialContext()

2004-09-08 Thread hbothmer
Hi all!

I am trying the following:

A scheduled job is supposed to call a Stateless Session Bean. Sounds easy ! And in 
fact I had no problem getting it to work.

But now strange things happen: I haven't change the code of the schedulable class. 
Now, when I call 

InitialContext initialContext = new InitialContext( jndiSettings );

i get a NullPointerException. (
at org.jboss.mx.loading.UnifiedClassLoader.findResources(UnifiedClassLoader.java:374))

I have not the slightest idea what is going on. I have made sure that the Beans are 
there and working by calling them from remote and from other beans.

Any idea?

thanks,
Holger

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

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


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


[JBoss-user] [Installation & Configuration] - howto ear-global container-configuration

2004-09-08 Thread mjuergens
Hello,
I try to deploy a ear-file global container-configuration for several ejbÃÂs packed 
into different jar-files. All this jar files are packed into the ear file.

IÃÂve tried to put a jboss.xml into the META-INF dir of the ear file. 
But the container-configuration is not found by the ejbÃÂs.

If I put it into standardjboss.xml or into the different jboss.xml of the jar files it 
will be found.

Any suggestions , how to provide a ear-global configuration?

regards,

Michael


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

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


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


[JBoss-user] [Javassist user questions] - Re: Possible to refer to classes that will be generated late

2004-09-08 Thread chiba
Let me know what you mean by "reference to classes
that will be generated later on".  Do you want
to define a class whose definition includes
the names of undefined classes?

A tip that might be helpful is that you can create
an empty class without any members but append
members later.

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

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


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


[JBoss-user] [Javassist user questions] - Re: Possible to refer to classes that will be generated late

2004-09-08 Thread Bug-C
Hi Chiba,

Yes exactly like that. I have a class A that contains a reference to an instance  of 
class B and a class B which has a refence to A. Thanks for your answer, I think it 
could do it like that.

One final question:
Is is possible to unload created classes later on? I just ask as I also would need 
that for my application, but I do not find an unloadClass method (or the like) in the 
ClassPool class.

Thanks,
Stefan

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

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


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


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-08 Thread oferbaranes
1 - if MDB1 send message to MDB2 in one of it's onMessage()
 used method , how can you gurentee that MDB1 commit before MDB2 
 will start ?
2- both MDBs are using the same Queue (different selector) with  
AUTO_ACKNOWLEDGE , is that adding light ?

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

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


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


[JBoss-user] [EJB/JBoss] - Re: CMP, JBoss & MySql problems

2004-09-08 Thread BuzzField
THANKS! :-)

It worked, with a little of extra "stuff"... So, I post the complete solution, plus a 
couple of questions (note: I'll just post the parts of the files that changed...)

__
jbosscmp.jdbc
__

*** CHANGED:

  
java:/MySqlDS 
mySQL 
true
true
  

*** QUESTION:
*** Why did I have to change 'MySql' to 'mySQL'? Is it because the file
*** standardjbosscmp-jdbc.xml has a reference to 'mySQL', and not
*** 'MySql'?

__
jbosscmp-jdbc.xml
__

*** CHANGED:

  
java:/MySqlDS
mySQL
true
true
  

*** EXPLAINATION: I just noticed the datasource name assigned to
*** the SQL source by JBoss during its startup (i.e. 'java:/MySqlDS')
*** and I used 'mySQL' mapping name for coeherency with 
*** jbosscmp-jdbc.xml

__
ejb-jar.jdbc
__

*** CHANGED: I eliminated


 jdbc/EJBDatabase
 javax.sql.DataSource
 Container


*** EXPLAINATION: just a hunch... I mean, since the datasource was 
*** defined by JBoss at startup time, I figured that it would be
*** unnecessary to redefine it.

***QUESTION: Why was I right? When is it actually necessary to use 
***  tags to define datasources, and what's the right way 
*** of doing it?

Finally, I feel I need to learn much more. Any tutorial/book as to 
what-goes-where-and-why that you could recommend?

A HUGE thanks for your help! You really got me out of a big deal of frustration!!! :-)


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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - More of the problem

2004-09-08 Thread terol

Some additional information:

It seems that the JMS_MESSAGES table remains empty.  This probably means that the 
PersistenceManager does not ever get anything written to the testDB database.  It is 
like the whole PersistenceManager is not working.  Otherwise testDB datasource seems 
to be working fine.

Some help would be much appreciated.

Regards,
Tero


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

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


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


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Enterprise JavaBeans 4th edition - JBoss Workbook exampl

2004-09-08 Thread MauricioNino
Hi You can download it from http://examples.oreilly.com/entjbeans4/workbook.zip

enjoy!

Mauricio

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error in persistence with MySQL and persisting performan

2004-09-08 Thread ahanys
Now I try to switch transactions off.
And JBoss for a while works.

Than I make stress test.
I send to the queue 200,000 Object messages per 2,5KBytes and
Stoped server.
After restart JBoss on the console besides the exception of the previous post I see:
>

ObjectName: jboss.mq.destination:service=Queue,name=fronta_www
 state: FAILED
 I Depend On:  jboss.mq:service=DestinationManager

 Depends On Me: java.lang.OutOfMemoryError: Java heap space
ObjectName: jboss.mq.destination:service=Queue,name=testQueue
 state: FAILED
 I Depend On:  jboss.mq:service=DestinationManager
 jboss.mq:service=SecurityManager

 Depends On Me: org.jboss.mq.SpyJMSException: Could not restore messages to 
destination : QUEUE.testQueue; - nested throwable: (java.sql.SQLException: Error 
during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message 
given: 1878




>>>

Does somebody any help ???
John Cage
Thanks

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

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


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


[JBoss-user] [Beginners Corner] - monitor database connections in a database pool

2004-09-08 Thread vspv62
Hi,

Do you know how I can monitor database connections in a database pool.. ? I am using 
Jboss container.

The purpose is to monitor connections that are closed and refresh them.

There a firewall.. across which my application makes connections to the database.. the 
firewall times out due to the inactivity. and my application dies.

I was thinking may be I could check for the database connections in a pool and then 
one that is not being used for a long time .. close it and again refresh the 
connection.

Please Advise... 

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: SQLException (connection reset) from JDBC PersistenceMan

2004-09-08 Thread terol

When I turned the debug messages on for org.jboss category, I got also the 
following exception on the console.  I wonder if this could help to pinpoint the 
problem:

16:38:14,852 ERROR [TxConnectionManager] There is something wrong with the pooling?
java.lang.IllegalStateException: afterCompletion called with wrong tx! Expected: null, 
actual: TransactionImpl:XidImpl [FormatId=257, GlobalId=devemine.co.helsinki.fi//404, 
BranchQual=]
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TxRemover.afterCompletion(TxConnectionManager.java:635)
at org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1398)
at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:463)
at org.jboss.tm.TxManager.rollback(TxManager.java:265)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager$TransactionManagerStrategy.endTX(PersistenceManager.java:174)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1236)
at org.jboss.mq.server.MessageCache.saveToStorage(MessageCache.java:385)
at org.jboss.mq.server.MessageReference.makeSoft(MessageReference.java:311)
at 
org.jboss.mq.server.MessageCache.validateSoftReferenceDepth(MessageCache.java:332)
at org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:142)
at org.jboss.mq.server.MessageCache.add(MessageCache.java:112)
at org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:357)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:402)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:378)
at 
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
at 
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:153)
at 
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270)
at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:86)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:356)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:534)




Regards,
Tero


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

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


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


[JBoss-user] [EJB/JBoss] - Re: local/remote interface

2004-09-08 Thread doshiaj
Hello? Any clues?

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

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


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


[JBoss-user] [EJB/JBoss] - Re: local/remote interface

2004-09-08 Thread darranl
Not sure about JBoss 2.x, within 3.x I think the call will be optimised so that it is 
local for both interfaces (The reason I am a little vague is because another user on 
here performed some profiling that seemed to sugest the calls were going remotely but 
I don't know all the details of their tests).

It is however good practice to just use Local interfaces for entity beans to stop 
external clients manipulating them directly, also Local interfaces are required if you 
want CMR.

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

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


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


[JBoss-user] [Installation & Configuration] - database pool connection timeout

2004-09-08 Thread vspv62
How can i set the database connection pool time out value?

Please advise.

Thanks,


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

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


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


[JBoss-user] [EJB/JBoss] - Re: NullPointerException when calling new InitialContext()

2004-09-08 Thread hbothmer
I was able to solve the problem by rebooting the machine

Still don't get it though.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: I'm dying!!! Please help me find where error is coming f

2004-09-08 Thread jim_stoll
the way we handle most problems like this is...

goback to battery!  restore the system to the last time stuff did work.

then try to retrace your steps   perhaps testing, as in bringing up jrun,  a 
little more frequently.

we have found that we can isolate most problems this way.

once we have isolated the problem there is a much greater chance of either  not doing 
the thing that casued it or reporting a specific problem to the forums.

Sorry if this sounds a little vague but it must be as we don't what caused your 
problem yet.

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule - Bad Password

2004-09-08 Thread ___martin___
Hello List/Forum!

I've got a little problem using JBoss 3.2.3 with  JAAS/DatabaseServerLoginModule. A 
sample swing-application (standalone; not web) should authenticate a user against the 
JBoss app-server; thus the client uses the ClientLoginModule whereas the 
JBoss-app-server uses the DatabaseServerLoginModule to authenticate the client.

In the "Basic JBoss Authentication and Access 
Control"(http://minnigerode.org/dave/BasicJBossAAC.html) tutorial it is mentioned, 
that the DatabaseServerLoginModule requires a SHA hash of the clear text password; 
does this mean I've to save the SHA hash in the database or to pass a SHA hash in the 
callbackhandler?

The login-name for a user is its primary-key in the db-table (see below for the table 
definition).

Without JAAS the sample runs fine but as soon as I add security to the program I get 
these log-messages:


2004-09-08 14:54:26,901 TRACE [org.jboss.system.Registry] lookup 
1703819317=jboss.j2ee:jndiName=CustomerSHomeRemote,service=EJB
2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start 
method=create
2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current 
transaction in MI is null
2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for 
create
2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in 
with tx null
2004-09-08 14:54:26,902 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting new tx 
TransactionImpl:XidImpl [FormatId=257, GlobalId=linux//3, BranchQual=]
2004-09-08 14:54:26,902 TRACE [org.jboss.ejb.plugins.StatefulSessionInstancePool] Get 
instance [EMAIL PROTECTED] com.ejbemarketplace.customer.CustomerSBean
2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] 
getAppConfigurationEntry(ejbemarketplacepolicy), authInfo=AppConfigurationEntry[]:
[0]
LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
ControlFlag: LoginModuleControlFlag: required
Options:name=rolesQuery, value=select role, role from customerejb where ucid=?
name=principalsQuery, value=select passwd from customerejb where ucid=?
name=unauthenticatedIdentity, value=Unknown
name=password-stacking, value=useFirstPass
name=dsJndiName, value=java:/PostgresDS

2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
initialize
2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
Saw unauthenticatedIdentity=Unknown
2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
DatabaseServerLoginModule, dsJndiName=java:/PostgresDS
2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
principalsQuery=select passwd from customerejb where ucid=?
2004-09-08 14:54:26,904 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
rolesQuery=select role, role from customerejb where ucid=?
2004-09-08 14:54:26,904 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
login
2004-09-08 14:54:26,906 DEBUG [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
Bad password for username=2
2004-09-08 14:54:26,907 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] 
abort
2004-09-08 14:54:26,907 DEBUG 
[org.jboss.security.plugins.JaasSecurityManager.ejbemarketplacepolicy] Login failure
javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
at 
org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:154)
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)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:487)
at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:442)
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:244)
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:219)
at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:160)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
at 
org.jboss.resource.connectionmanager.Cach

[JBoss-user] [Javassist user questions] - Problem using LoaderClassPath in 3.0Beta2

2004-09-08 Thread tfrank
I have been trying to use Javassist and am having problems trying to use 
ClassPool.get() for a class that will be loaded by my own ClassLoader. It fails with 
the NotFoundException indicating the class could not be loaded. I know the MyInterface 
Class is loadable via my classloader as I can use my classloader directly to load the 
class.  
The code is as follows:

  |   cPool =  ClassPool.getDefault();
  |   java.lang.ClassLoader cll = this.getClass().getClassLoader();
  |   cPool.appendClassPath( new LoaderClassPath( cll ) );
  |   serializableClass = cPool.get( "java.io.Serializable" );
  |   CtClass iClass = cPool.get( "myPackage.MyInterface" );
  | 

I have tried the above code in the Javassist 2.6 version and it does work, but will 
not work in the 3.0Beta2 version. Are there any known issues in this area of the 
3.0Beta2 code?

Also is there a projected "release dates" for the 3.0 code? I'm still trying to decide 
if I should use the 2.6 or the 3.0 code at this point.  

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

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


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


[JBoss-user] [EJB/JBoss] - Re: invoke EJB session bean across applications

2004-09-08 Thread jae77
go read this: http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions

more or less same situation as this - basically, you need to pull out the local/home 
interfaces and any other dependent classes for those ejbs and package them outside of 
both of those ears.  

you could also turn on "pass by value" for ejb invocations, but that reduces your 
performance dramatically. 

from my experiences, scoping works best if you have a stand alone legacy application 
that has older/incompatible library dependencies (i'm sure there are other useful 
scenarios too, but i have not stumbled across them yet). 

if you have the jboss admin book, read chapter 2, it talks all about how the 
classloader works. 



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

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


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


[JBoss-user] [Installation & Configuration] - Re: howto ear-global container-configuration

2004-09-08 Thread jae77
i don't believe this can be done, but i don't have the dtds in front of me at the 
moment - those would be your best bet to see if this is possible. 

however, if you need a global config, why not just define it in the standardjboss.xml 
file? the only drawback is if you need to modify it for whatever reason, it requires a 
server restart - and at the end of the day, i don't really see that as being too much 
different then redploying the app to make the change (i guess it could be an issue if 
you were running multiple/seperate apps in jboss)



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

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


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


[JBoss-user] [JCA/JBoss] - Re: inet opta XADataSource problem

2004-09-08 Thread parkenf
"[EMAIL PROTECTED]" wrote : It looks like a bug in driver:
  | 
  | JBoss is telling the XAResource about a new transaction/xid (flags=0)
  | so why it should complain about "transaction does not exist" is anybody's guess?

Well quite. I no longer have a support contract with INet so I can't get a new driver. 
I'll see if I can get one and let you know if that helps.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Cannot bring up the jmx-console

2004-09-08 Thread milsteadrl
Yes, we checked that first. 

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

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


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


[JBoss-user] [Installation & Configuration] - Server VM or client VM for running JBoss on Solaris/Windows

2004-09-08 Thread MaitaiBernie
Hi,

running a quiet big J2EE application (>20 session beans, >70 entity beans, 
message-driven beans, JMS, up to 2000 users) on both Solaris and Windows machines I'm 
wondering whether running JBoss with the Java HotSpot Server VM would yield better 
performance than using the Client VM. So far we've only been using the client VM! What 
are the experiences of the JBoss Group team and other JBoss users?

Thanks for your insights!

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Cannot bring up the jmx-console

2004-09-08 Thread kabkhan
Have you got any spaces in some environment settings?

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49305

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Registering as a listener to server startup

2004-09-08 Thread dsengupt
This is what i've done so far, but it gives an exception -  
RuntimeOperationsException: MBean jboss.system:type=Server does not implement the 
NotificationBroadcaster interface.
Cause: java.lang.ClassCastException

I'm using JBoss 3.0.4

CODE:
MBeanServer server = (MBeanServer) 
MBeanServerFactory.findMBeanServer(null).iterator().next();
Set servers = server.queryNames(new ObjectName("jboss.system:type=Server"), 
null);
Iterator it = servers.iterator();
while (it.hasNext())
{
ObjectName serverObjectName = (ObjectName)it.next();
MBeanInfo info = server.getMBeanInfo(serverObjectName);
System.out.println(info);

NotificationFilterSupport filter = new NotificationFilterSupport();
filter.enableType(Server.START_NOTIFICATION_TYPE);
server.addNotificationListener(serverObjectName, this, filter, null);
}


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

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


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


[JBoss-user] [Nukes User] - WhosonLine and Contextual blocs

2004-09-08 Thread arnaud.tessier
Hi,

I have a problem with these two blocks. I don't want they appear but each time I 
restart the server they appear again.
With the other kind of block I can modify directly inside the database. But these 
blocks are no parameter in it. 
I want to know if the only way is to modify the xml parameters file by hand ?

Thanks


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

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


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


[JBoss-user] [Nukes User] - Re: WhosonLine and Contextual blocs

2004-09-08 Thread theute
Just remove:
$JBOSS_HOME/server/default/nukes/contextual-block-service.xml
and
$JBOSS_HOME/server/default/nukes/whosonline-block-service.xml

No need to restart, just refresh your browser

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

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


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


[JBoss-user] [JBoss.NET] - Re: Webservice authentication

2004-09-08 Thread arielah
I got it to work with authentication. From the locator I was getting my interface 
(which extends the Remote). Instead I casted it, per your suggestion, to the stub:

AxisSoapBindingStub port = (AxisSoapBindingStub)service.getAxis();
  | port.setUsername("blah");
  | port.setPassword("blahlast");
  | 
  | 

I don't use Jboss.net, instead I'm using Axis 1.1 with JBoss 3.2.5, is there a 
disadvantage to that?
Thanks a lot.

ah.

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

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


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


[JBoss-user] [Beginners Corner] - CMP examples that work out of the box?

2004-09-08 Thread alicante04
After two whole days work I got the bank example working. Now I got completely stuck 
with the roster CMP example. 
It seems to be a problem similar to another posting here concerning SQL-statements 
split over several lines.
But as I am a beginner I don't have a clue of how to fix it (not having a clue is the 
reason why I'd like to get this example working).

Is there any documentation, configuration, preconfigured pack or something like that 
around that permits a somewhat less frustrating start with JBoss?

Any other, working, lightweight example for the use of CMP? 

Maybe for some older version of JBoss (I am using 3.2.5 with JDK 1.4.2)?

Thanks, Ebe

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

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


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


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-08 Thread jamesstrachan
I guess that you could get a race between MDB2 starting and MDB1 committing if (a) you 
use a file based JMS persistence manager and (b) you are not including the JMS 
messages in the transaction.  Then it is possible for the thread running MDB2 to start 
before the thread in MDB1 has finished.

That would suggest that, if you persevere with this architecture, you should use a 
JDBC based persistence manager and include handling JMS messages within the 
transaction.  That involves getting a reference to the Transaction Manager and calling 
the begin() and commit() methods on it.

Making message handling transactional also avoids problems if the database commit 
fails but the messages are still processed.

I think, however, that refactoring would almost certainly be a quicker and more 
reliable method of resolving the problem.

If you can tell me what your application is trying to do, I may be able to suggest an 
alternative design pattern.

James

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Server VM or client VM for running JBoss on Solaris/Wind

2004-09-08 Thread fbiaggi
Hi,

my personal tests show under Win (EJB environment) better performance of the client VM.

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

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


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


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-08 Thread [EMAIL PROTECTED]
Guys, this is an FAQ:
http://www.jboss.org/wiki/Wiki.jsp?page=MyJMSReceiverCannotSeeADBUpdateMadeInTheSameTransactionAsASend

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

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


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


[JBoss-user] [Clustering/JBoss] - HA-JNDI bind taking 60s

2004-09-08 Thread k-town
Hello. I've got a two machine cluster set up with JBoss 3.2.5. I'm seeing that once 
the cluster is properly established binding and unbinding with JNDI always takes 60 
seconds.  I'm just using the default cluster-service.xml.   This used to work properly 
with 3.2.3. Has anyone else ever seen this? Is there any way to fix it?

Duncan

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: invalidate cache with RO/RW pattern

2004-09-08 Thread pedrosalazar
Hi,

I created a well defined test case easy to build and deploy. Should I submit it to 
anyone to test it (just deploy!) or should I open a bug?

Regards,
Pedro Salazar.


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

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


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


[JBoss-user] [J2EE Compliance] - TimedObject, JBoss 4,RC1

2004-09-08 Thread [EMAIL PROTECTED]
Hello,

according to the ejb-spec 2.1 Timers should be persistent.

After some tests i do have the impression, that JBoss does not persist Timers.

Seraching the www did not reveal any hints on this mater.
I did look at the source code and tried to find out where to enable persistence, 
but i have to commit, that i did not find a solution there.

So the question is "Does JBoss persist timers, and calls ejbTomeout after a 
container-crash?"

If Yes, i suppose this question should have been in "Configuration", 
but, as far as i understood the source there might be a complience problem.

Any comments are welcome (even "rtfm" if you specife what manual :-) )
Many thanks in advance.


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

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


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


[JBoss-user] [Nukes User] - Re: Having some trouble installing.....

2004-09-08 Thread chasetec
Since your output shows an OutOfMemoryError you may just be running out of memory. 
Try launching JBoss with more memory allocated.
The easist way to do this is set the enviromental variable "JAVA_OPTS".

I'm running Linux so I would do this from the command line:
export JAVA_OPTS="-server -Xms128M -Xmx256M"

Since you're running Windows I think you can do:
SET JAVA_OPTS="-server -Xms128M -Xmx256M"
and then launch JBoss from the same window.
You should be able to set the variable from your system settings too.

JBoss uses the JAVA_OPTS value as the options to the java command.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - JmsXA not bound

2004-09-08 Thread harajuku_01
I have unzipped the jboss-3.2.3.zip and use it as is. When I run the following code, I 
get the above error. Is there anything I need to configure? Thanks a lot.

ht.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
ht.put(Context.PROVIDER_URL,"jnp://myhost:1099");

ctx = new InitialContext(ht);
QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("java:/JmsXA");

=
javax.naming.NameNotFoundException: JmsXA not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at JbTxClient.init(JbTxClient.java:64)
at JbTxClient.main(JbTxClient.java:120)

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

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


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


[JBoss-user] [Nukes User] - Re: Having some trouble installing.....

2004-09-08 Thread kabkhan
You can also set these opts in the jboss/bin/run.bat file. It contains a commented out 
example

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

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


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


[JBoss-user] [EJB/JBoss] - Getting Server Home Dir

2004-09-08 Thread tim5901
In an EJB is there a way to get the Server Home Directory of the app?

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

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


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


[JBoss-user] [Installation & Configuration] - RMI Connection Caching

2004-09-08 Thread vijaygrk
My application runs under jboss 3.2.3. I am communicating to a different app running 
on Websphere through RMI. Whenever websphere is restarted the rmi communication from 
my app is not working. I have to restart my app to make the RMI communication work. 
Can anyone explain this behavior?

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

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


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


[JBoss-user] ping

2004-09-08 Thread Scott M Stark
ping
---
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=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Comments on the module Downloads

2004-09-08 Thread chasetec
:) Now I'm try to figure out how I would explain to my girlfriend that having a 
mailbox full of hotdogs was a good thing

BTW, I've already started working on the file download stuff.

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

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


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


[JBoss-user] [JCA/JBoss] - Using Jacorb 1.4.1 with JBoss 3.2.4

2004-09-08 Thread siegy
Hello, I hope someone can help me.

Can one use two versions of Jacorb with one JBoss server?

I am trying to deply a EJB using an application that requires Jacorb 1.4.1 with JBoss 
3.2.4.  It's java api is accessable through a jar file.

This version of JBoss uses a newer version of Jacorb 1.4.1 that is incompatible with 
this application.  Other applications served out by the JBoss server require this 
version of JBoss.  

I found that if I replaced the Jacorb.jar and Jacorb.properties files on my JBoss test 
box with the version 1.4.1 - the application worked.  This solution is not acceptable 
on the production JBoss server.

The application developers claim that the reverse solution is not possible -- using 
the newer version of Jacorb with this application.  I tried to replace the jacorb 
files in their jar file and deploy it on JBoss and call it from my EJB.  I got an 
exception:

org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation 
org.jacorb.orb.ORB  vmcid: 0x0  minor code: 0  completed: No
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.init(Unknown Source)
at com.engenium.semetric.TheORB.get(TheORB.java:16)
at com.engenium.semetric.Engine.initRef(Engine.java:523)
at com.engenium.semetric.Engine.getDocSet(Engine.java:81)
at DOCADD.main(DOCADD.java:27)
Caused by: java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jacorb.util.Environment.initLogging(Unknown Source)
at org.jacorb.util.Environment.init(Unknown Source)
at org.jacorb.util.Environment.(Unknown Source)
at org.jacorb.orb.BufferManager.(Unknown Source)
at org.jacorb.orb.ORB.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
... 6 more
Exception in thread "main" 
___
I find it hard to believe that a library as heavily used as Jacorb would not be 
backwards compatible.


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

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


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


[JBoss-user] [Nukes User] - Newsletter module for Nukes?

2004-09-08 Thread martingi
Hi all,

we are currently looking for alternatives to our existing java cms and jboss nukes 
really looks very promising.  But I would like to know is if there exists a module for 
a newsletter, e.g. with subscription management or newsletter generation? Maybe even 
from existing news items which were written with the news module?

I could not find anything about this in the documentation. But on the jboss homepage 
there is the possibility to subscribe to a newsletter. And the jboss homepage is based 
on Nukes for JBoss...?

Many Thanks,
Martin

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Cannot bring up the jmx-console

2004-09-08 Thread gshifrin
We've run into this when the server was severely resource constrained.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: Firewall configuration for JBoss

2004-09-08 Thread [EMAIL PROTECTED]
We use tomcat hosted elsewhere to talk to our windows xp JBOSS 3.0.4 ejb in our 
network behind a router.
I have set the jnp.rmiPort to 34159 in jboss-service.xml so I could open and forward 
the port to the JBOSS box.
Also ports , 8070, and 1476 are forwarded to this JBOSS box.
Also use -Djava.rmi.server.hostname=xx.xxx.xxx.xxx 
-Djava.rmi.server.useLocalHostname=false
These settings allowed lookup of the a jboss queue using a test jsp page.

Another test page that tries to lookup and create the EJB we need takes two minutes to 
do the lookup, which succeeds and get the home and then tries to call create().

Create() hangs for 30 minutes before the ConnectionException error occurs:
INFO   | jvm 1| 2004/09/07 18:51:57 | java.net.ConnectException: Connection timed 
out
INFO   | jvm 1| 2004/09/07 18:51:57 | lookup() Failed
INFO   | jvm 1| 2004/09/07 18:51:57 | java.rmi.ConnectException: Connection 
refused to host: xx.xxx.xxx.xx; nested exception is: 
INFO   | jvm 1| 2004/09/07 18:51:57 |   java.net.ConnectException: Connection 
timed out
INFO   | jvm 1| 2004/09/07 18:51:57 |   at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
INFO   | jvm 1| 2004/09/07 18:51:57 |   at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
INFO   | jvm 1| 2004/09/07 18:51:57 |   at 
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
INFO   | jvm 1| 2004/09/07 18:51:57 |   at 
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
INFO   | jvm 1| 2004/09/07 18:51:57 |   at 
org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)

WeÂve tried tinkering with many things but to no avail. I tried messing with the 
windows/sys32/drivers/hosts file without success, though maybe incorrectly.

Also, in another setup elsewhere, the tomcat and jboss donÂt have a router involved 
and work fine.
Any thoughts or ideas?


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

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


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


[JBoss-user] [Nukes User] - Re: Newsletter module for Nukes?

2004-09-08 Thread cooper
there is some embryon newsletter module that exist in the CVS but it is not very 
developed. All you can do is subscribe, then you need to get the list manually and put 
it in some real newsletter software. So obviously this module need a consequent amount 
of work to be operational.

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

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


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


[JBoss-user] [EJB/JBoss] - Re: transaction rollback instead of wait

2004-09-08 Thread oferbaranes
it's ok if thread2 will not be able to see the changed data
before the commit,why it doesn't wait() to the commit,why instead it rollback ?!

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

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


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


[JBoss-user] [Beginners Corner] - Is Hypersonic good enough to deploy with a JBoss app?

2004-09-08 Thread stephenlegge
Hi,

We developed a web app with JBoss and MySQL.  Because of licensing problems with MySQL 
we are looking for an alternative DB.

We have our app working fine with Hypersonic DB and, at first glance, it seems fine.  
I am looking for opinions, though.  

Is Hypersonic a good DB to distribute to customers along with JBoss and our web app?  
Is there anything about Hypersonic I should be concerned with?

Any help is greatly appreciated, thanks!

SLL


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

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


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


[JBoss-user] [EJB/JBoss] - EJB Deployment Error

2004-09-08 Thread kyleyj
Upon the release of JBoss 4.0 RC2, I've downloaded and deployed my EJBs that worked 
with 3.2.3 into 4.0, but I get the following error:  

Failed to setup client ENC; - nested throwable: 
(org.jboss.deployment.DeploymentException: ejb-ref ejb/jdelphi-utility, expected 
either ejb-link in ejb-jar.xml or jndi-name in jboss.xml)

I'm not quite sure what that means and if it is correct because I have the jndi-name 
defined in the jboss.xml already.  And by adding the ejb-link to the ejb-jar.xml it 
doesn't change the error.

Any ideas?  Is this error correct? or am I missing something else that was added to 
change the behavior from 3.2.3 to 4.0 RC2?

Cheers!
Kyley

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

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


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


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Error

2004-09-08 Thread kyleyj
Is this something that is new to 4.0 (because I notice there exists a 3_2.dtd and 
4_0.dtd) or did the dependency on this change.

Thanks for your reply -- I'll give it a try.

Cheers!
Kyley

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

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


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


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Error

2004-09-08 Thread kabkhan
You need to create an entry in your jboss-web.xml (if you are using a web client) or 
your jboss-client.xml (if you are using an application-client)

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

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


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


[JBoss-user] [JBoss Getting Started Documentation] - 5.3.1. The jbossmq-destinations-service.xml File

2004-09-08 Thread monocongo
When I tried adding a queue using an entry like the one specified on page 34 of the 
"Getting Started Guide" I ran into trouble, until I figured out that I need to also 
have a DestinationManager dependency.  So the actual entry needed in 
jbossmq-destinations-service.xml should look like this:


  | 
  | jboss.mq:service=DestinationManager
  | 
  | 


I'm running JBoss 3.2.5 with a clustered (all) configuration.  Perhaps this isn't 
necessary for a default configuration, which would explain why it's left out in this 
example.  In any event it might be a good idea to add/mention this in the example the 
next time the document goes to press.


--James

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

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


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


[JBoss-user] [EJB/JBoss] - Problems with container managed transaction

2004-09-08 Thread balteo
Hello,
1. I have a jsp which calls a stateless session facade 
2. My stateless session facade itelf calls a findbyprimarykey finder of an entity bean 
3. My entity bean has a collection of another entity bean

A . When I set the trans attribute of my session facade methods to Required and the 
trans attribute of my entity beans as Mandatory I get the following exception:


  | java.lang.IllegalStateException: A CMR collection may only be used within the 
transction in which it was created
  | 
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.getIdList(RelationSet.java:66)
  | 
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.access$000(RelationSet.java:32)
  | 
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.(RelationSet.java:355)
  | 
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.iterator(RelationSet.java:353)
  | 
org.apache.taglibs.standard.tag.common.core.ForEachSupport.toForEachIterator(Unknown 
Source)
  | 
org.apache.taglibs.standard.tag.common.core.ForEachSupport.supportedTypeForEachIterator(Unknown
 Source)
  | org.apache.taglibs.standard.tag.common.core.ForEachSupport.prepare(Unknown 
Source)
  | javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(Unknown Source)
  | org.apache.jsp.displayItem_jsp._jspx_meth_c_forEach_0(displayItem_jsp.java:282)
  | org.apache.jsp.displayItem_jsp._jspx_meth_f_view_0(displayItem_jsp.java:157)
  | org.apache.jsp.displayItem_jsp._jspService(displayItem_jsp.java:97)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  | 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)
  | 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
  | com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
  | 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
  | 

B.  When I set the trans attribute of my session facade methods to Required and the 
trans attribute of my entity beans as Required I get the same exception as above.

C. When I set all trans attributes at supports I get the following exception:


  | org.apache.jasper.JasperException: RuntimeException; CausedByException is:
  | A CMR collection may only be used within the transction in which it was created
  | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
  | 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)
  | 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
  | com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
  | 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
  | root cause 
  | javax.ejb.EJBException: RuntimeException; CausedByException is:
  | A CMR collection may only be used within the transction in which it was created
  | org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:357)
  | org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:522)
  | org.jboss.ejb.Container.invoke(Container.java:871)
  | 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:394)
  | org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
  | $Proxy133.getAverageGrade(Unknown Source)
  | 
com.softwareag.test_guide.ejb.util.PGConvertUtil.convertPGEstablishmentLocalIntoPGEstablishmentTO(PGConvertUtil.java:20)
  | 
com.softwareag.test_guide.sessionFacadeEJB.PGSessionFacadeBean.getEstablishmentFromId(PGSessionFacadeBean.java:44)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.in

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JmsXA not bound

2004-09-08 Thread genman

Not sure what you want to do, but just do

new InitialContext().lookup("java:/JmsXA") from within JBoss.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error in persistence with MySQL and persisting performan

2004-09-08 Thread genman

Bug in MySQL driver I think.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: SQLException (connection reset) from JDBC PersistenceMan

2004-09-08 Thread genman

Use the Oracle OCI  driver with JMS, should be mentioned in FAQ, since THIN can't do 
blobs over 4k.  Also, if your DB goes up/down (or net does) you might get this.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message Driven Bean and SOAP

2004-09-08 Thread genman

Maybe you can post your code.  Be careful about using static variables in MDB.

Typically, you would init the SOAP client in ejbCreate and remove it in ejbRemove.  
You can add logging to find out what's going on in these methods.

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

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


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


[JBoss-user] [Clustering/JBoss] - Clustering 3.x or 4.x

2004-09-08 Thread divine_comedy
We are thinking of taking the plunge (clustering our servers).

Should we wait until the 4.0 version is available. We are currently on
3.2.3 ? It was painful to upgrade from 2.4.4 to 3.0 and basically I want to do it 
right once. 

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JmsXA not bound

2004-09-08 Thread harajuku_01
genman, thanks for your reply.

Basically, this is a stand-alone java client program. From this client, I want to send 
a JMS message in a transactional context to JBoss and be able to control when to call 
commit(). My code is as follows. I also tried in a different program using 
XAQueueConnection instead of QueueConnection but it  didn't work and gave error 
"Invalid transaction id". So I search this forum that most people mentioned that 
java:/JmsXA should be used together with QueueConnectionFactory. That's how I come up 
with this error. May be I didn't get the concept right.

Thanks in advance.

=

Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
ht.put(Context.PROVIDER_URL,"jnp://myhost:1099");

Context ctx = new InitialContext(ht);

UserTransaction m_tx = (UserTransaction)ctx.lookup("UserTransaction");

// QueueConnectionFactory qcf = (QueueConnectionFactory) 
ctx.lookup("XAConnectionFactory");
QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("java:/JmsXA");

QueueConnection conn = qcf.createQueueConnection();
conn.start();

QueueSession session = conn.createQueueSession(true, QueueSession.AUTO_ACKNOWLEDGE);
Queue queA = (Queue) ctx.lookup("queue/A");


// begin Transaction
m_tx.begin();

QueueSender send  = session.createSender(queA);
TextMessage tm= session.createTextMessage("Timestamp: ["+ new Date() +"]");
send.send(tm);

Thread.sleep(1);

m_tx.commit();


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

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


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


[JBoss-user] [JBoss.NET] - Re: Webservice authentication

2004-09-08 Thread nehring
I have run Axis 1.1 installed as a war under JBoss and JBoss-net services in the same 
server instance without any trouble.   Using JBoss-net (which is also built on Axis 
1.1) has an advantange in that you don't need to mess with the Axis deploy/undeploy 
descriptors or plug your apps under the Axis.war directory structure.

I really like packaging the webservices as separate WSRs and deploying them like other 
EARs or WARs - by just dropping them into the server's deploy directory.

But, moving forward in JBoss-4, we're supposed to use the ws4ee way of doing things.  
It's still Axis 1.1 based as far as I've read, but the deployment mechanics are J2EE 
1.4 compliant.   I'm experimenting with ws4ee with the intent to port all my 
webservices over to the "church approved" way of doing things.

r,
Lance

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

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


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


[JBoss-user] [Beginners Corner] - Re: Is Hypersonic good enough to deploy with a JBoss app?

2004-09-08 Thread janilsal
Hypersonic is a small footprint database that Jboss uses more from the perspective of 
testing stuff for like JMS.   Have you looked at open source alternatives like 
PostgreSQL?   

Also IBM has released Cloudscape to Open Source via Apache. Eventually, JBoss may 
replace HSQL with another alternative.

JBoss recommends using a stable third party database.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: dual processor and single processor behaviour

2004-09-08 Thread mkgarnek
Which JVM are you running 3.2.4 under?

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

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


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


[JBoss-user] [Nukes User] - Re: Registering as a New User and Over/Under 18

2004-09-08 Thread MilesParker
Danny, I hacked a way out of this. You can simply edit the html in the user module to 
replace it with something else. In my case I replaced with site agreeement acceptance.

HTH

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

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


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


[JBoss-user] [Beginners Corner] - Re: dev w/ jboss3.2.1 on pc, move to production ....

2004-09-08 Thread yetang
thank you for your advice, darranl.

you are right. i can change both to jboss3.2.3

then how about development on pc and production on solaris x86? will i have serious 
deploy problems? i guess there should have no problem coz i just drop jar/xml file. am 
i right?

thanx

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

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


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


[JBoss-user] [Beginners Corner] - setup Jboss 3.2.5 and eclipse 3.0 with plugins of Lomboz 3.0

2004-09-08 Thread henrykey
The packages I used are Eclipse 3.0.0 for Windows, EMF 2.0 runtime, Lomboz 3.01 and 
Jboss 3.2.5

1.  Jboss setup
a.  Simply unzip jboss into your working directory (for example d:\jboss)
b.  Setup environment variable of java_home=[your j2sdk home directory] 

2.  IDE setup
a.  unzip eclipse to d:\eclipse (for example), dont launch it before finishing 
setup
b.  unzip emf and move into eclipse directory (d:\eclipse)
c.  unzip Lomboz and edit file jboss32x.server in 
[unziped dir]/plugins/com.objectlearn.jdt.j2ee_3.0.1/servers and then move plugins 
into eclipse directory.

.   modify following two tags

...


set default directory to your jboss directory as shown
default="D:/jboss" />

.   remove subtags as following from tags of  and 


${classPathVariableName}/lib/jboss-boot.jar
${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar
${classPathVariableName}/lib/jdom.jar
.   Add subtags into  and 
${classPathVariableName}/lib/dom4j.jar
3.  Test your system
Refer to Tutorial for building J2EE Applications using JBOSS and ECLIPSE
http://www.tusc.com.au/tutorial/html/
cheer


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

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


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


[JBoss-user] [Clustering/JBoss] - explanation of cluster-service.xml

2004-09-08 Thread jimyliu
Hi:

Is there any document which describe the meaning of each parameter in 
cluster-service.xml ?
Thanks.

Jimy

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Recommend Persistence

2004-09-08 Thread grom358
With Hibernate being part of JBoss project, is Hibernate replacing the use of CMP? 

Is the JBoss Inc. still advocating the use of CMP?

What advantages does CMP have over Hibernate?

Regards,
Confused User

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

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


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


[JBoss-user] [The Lizzard's corner] - is there any folder like APP-INF(which in weblogic ) in JBos

2004-09-08 Thread [EMAIL PROTECTED]
is there any folder like APP-INF(which in weblogic ) in JBoss 
It's so urgent 
thanks in advance 



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

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


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


[JBoss-user] [EJB/JBoss] - IllegalStateException when trying to remove CMR

2004-09-08 Thread imsathya
Hi,

I have a simple customer-address CMR beans. User has an option to delete all the 
addresses for the customer in one click ! "How easy!" I thought and put in the below 
code :


  | Collection allAddresses = getAddresses();
  | Iterator iterator = allAddresses.iterator();
  | 
  | while(iterator.hasNext()) {
  | AddressLocal oldObj = (AddressLocal) iterator.next();
  | oldObj.remove();
  | }
  | 

But when I tested, I immediately got the error :


  | 2004-09-09 09:44:40,655 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
RuntimeException:
  | java.lang.IllegalStateException: Underlying collection has been modified
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.next(RelationSet.java:389)
  | at 
com.mytest.ist.ejb.CustomerBean.removeAllAddresses(CustomerBean.java:396)
  | 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)
  | at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1114)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)
  | at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:317)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
  | at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:118)
  | at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175)
  | at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
  | at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
  | 

I can see that there is some locking problem somewhere. But these are purely CMP 
beans. Any inputs on this ?

TIA !

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

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


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


  1   2   >