[JBoss-user] [Beginners Corner] - what are the minimum deployment descriptors

2004-04-06 Thread jonasj
I have the classic and simple HelloWorld EJB and a simple java client.

First please tell me what are the deplyment descriptors files that are absolutely 
necessary to deply a signle Session EJB?

Is it possible to copy the  .class files that define the EJB in the folder
under deploy folder in jboss? Or .class files must be converted to jar?

I have set up everything according to the jboss documents to deply
this simple EJB but this is the error I get when I deploy:


, [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/ejb-jar.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/ejb-jar.xml
  lastDeployed: 1081312693531
  lastModified: 1081312693531
  mbeans:
, [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/jboss.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-3.2.3/server/default/deploy/hworld/META-INF/jboss.xml
  lastDeployed: 1081312693531
  lastModified: 1081312693531
  mbeans:
]MBeans waiting for classes:
  
MBeans waiting for other MBeans:

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-06 Thread sanjuthomas
you are right so far about the auth.conf , now see in your client you are creating the 
LoginContext like this
UsernamePasswordHandler handler = new UsernamePasswordHandler(args[0], 
args[1].toCharArray()); 

LoginContext lc = new LoginContext("MyLogin", handler); 
lc.login(); 

try it out , i am also not sure, me too a beginner. 
best of luck


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Compatibilities JBoss with Linux 3.0 or AIX 5.0

2004-04-06 Thread Renato Silva
Hi,
 
I'm new in this list, and I would like some information from you.I would like to know all the compatibilities of :JBoss with Red Hat Linux 3.0 Java 1.4orJBoss with AIX 5.0 Java 1.4
 
Please, let me know if there is problems with any of these versions above.I also would like to know, the appropriate version of JBoss for this version of others softwares.
Thanks a lot,
Renato.Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora!

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBossCMP and multiple database schemas (using postgres)

2004-04-06 Thread jlrobins_socialserve
"loubyansky" wrote : It does not seem to be that hard to do taking into the anaysis 
you've done.  If you come up with a patch please submit it to sf.net, it'll be 
applied. Thanks.

Already done, bug filed, and patch apparently applied by Christian Riege (lqd).

Many Thanks -- good to see the system work!

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss as a Windows Service

2004-04-06 Thread verilet
Have not tried the alexandriasc.com utility but tanukisoftware.org's server wrapper 
works will. Also comes with JBoss instructions. 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message size

2004-04-06 Thread jianjia
Hi Adrian,

Thank you very much for replying my message. I have read the topic you recommended. 
But it did not solve my problem. 

Plainly speaking, I want to send a BytesMessage with one mega bytes to and forth two 
queues and track the RTT(round trip time). The error messages are shown below. I 
changed the contents  of MESSAGEBLOB here which is actually one mega bytes long.

at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:745)
at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:44)
at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:145)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:407)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:383)
at 
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
at 
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:162)
at 
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:279)
at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
at 
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:249)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.sql.SQLException: Serialization failure in statement [INSERT INTO 
JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) 
VALUES(2,'QUEUE.RequestQueue','aced00057a04000202000c5265717565737',NULL,'A')]
at org.hsqldb.Trace.getError(Unknown Source)
at org.hsqldb.Result.(Unknown Source)
at org.hsqldb.jdbcConnection.executeHSQL(Unknown Source)
at org.hsqldb.jdbcConnection.execute(Unknown Source)
at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source)
at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:324)
at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:783)
at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:730)
... 10 more

This error occurs only when I sent 1 MB BytesMessage, I have tested with 16K, 32K, 
64K, 128K... and there are no problems. 
Any lucks to hear from you again?


Best Regards
Jianjia

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Problems removing EJBs

2004-04-06 Thread Aaron
Any ideas what is wrong with my code ?

Or where i could start looking...

I've tried to step through the code working out where my re entrant method is getting 
caught and what the method call is from.  But i keep getting lost in the EntityProxy 
and HttpLocalProxy.  Other than what is wrong with my code, is there a good way to 
approach server side debugging?  Where i can see everything thats going on.

thanks once again for the help
--Aaron

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB and container managed transactions

2004-04-06 Thread [EMAIL PROTECTED]
Your config looks correct to me.

Which version of JBoss are you using?
There was a bug in earlier versions of JBoss where it looked for
onMessage() instead of onMessage(Message) in the config, but that
shouldn't affect you since you are using a generic.

Add TRACE logging for org.jboss.ejb.plugins and post the results.
You should see the attribute JBoss thinks it is configured with.

I have almost exactly the same config in one of my tests that definitly works:


  | 
  | 
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | 
  | 
  | 
  | 
  |
  | 
  |   
  | 
  |  test/mdb
  | 
  |  test.mdb.TestMDBBean
  | 
  |  Container
  | 
  |  
  | 
  | javax.jms.Queue
  | 
  | NonDurable
  | 
  |  
  |  
  | standalone/test
  | javax.sql.DataSource
  | Container
  | Shareable
  |  
  | 
  |   
  | 
  |   
  | 
  |  test/dlq
  | 
  |  test.mdb.TestMDBBean
  | 
  |  Container
  | 
  |  
  | 
  | javax.jms.Queue
  | 
  | NonDurable
  | 
  |  
  | 
  |   
  | 
  |
  | 
  |
  | 
  |  
  | 
  |
  | 
  |  test/mdb
  | 
  |  *
  | 
  |
  | 
  |Required
  | 
  |  
  | 
  |  
  | 
  |
  | 
  |  test/dlq
  | 
  |  *
  | 
  |
  | 
  |Required
  | 
  |  
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Problem accessing bundled text file

2004-04-06 Thread jhd
I'm working on a Weblogic => Jboss conversion. 

Deployment scenario:

abc.ear
 * abc-ejb.jar
 * abc.war
 * abc.wsr
 * abc-resource.jar (no classes)

In abc-ejb.jar I have a non-EJB class attempting to load a text file from 
abc-resource.jar using the following syntax:

InputStream fileResource = 
this.getClass().getClassLoader().getResourceAsStream(TEMPLATE_LOCATION + "/" + 
templateName);

Result is always null.  The resource path appears valid as: /abc/email 
templates/passwordChange.txt

That is how the file is bundled in abc-resource.jar.

This worked fine under Weblogic 6.1.

After reading through posts on similar problems I have tried the following without 
success:

1) specified abc-resource.jar as a java module inside of my application.xml for abc.ear
2) bundled abc-resource.jar inside of abc-ejb.jar
3) placed abc-resource.jar in each of the lib directories under jboss root.
4) verified that abc-resource.jar is listed in the manifest classpath for abc-ejb.jar
5) I also verified that a test class placed in abc-resource.jar can be loaded from a 
class in abc-ejb.jar in each of the cases above.  Class loading in and of itself does 
not appear to be the problem.

Any help is appreciated.

jhd

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - MDB and container managed transactions

2004-04-06 Thread fpa1974
I have been trying to make an MDB get a message and send it to another queue in the 
context of a transaction. It seems that I got stuck on the fact that JBoss does not 
run my MDB in the context of a transaction.

from ejb-jar.xml


   ...
   

 


TrxMDB

mypackage.foo.TrxMDB

Container

   javax.jms.Queue


 
   
   
  
 
TrxMDB
*
 
 Required
 
   


So in the MDB my test for running inside a transaction fails:

public void onMessage(Message message)
{
 // ctx is a member variable that stores the message driven context
boolean res = ctx.getRollbackOnly());
  
 // ...
 }

This will throw an exception informing me that my function call is illegal since I am 
not running inside a transaction.

I am really puzzled here. Why am I not running inside a transaction when my deployment 
descriptor specified otherwise?

Thanks,
Florian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: jaas_howto on 3.2.4 reports different user to 3.2.3

2004-04-06 Thread Martin0
I see in the release notes for 3.2.4RC1 it says:

anonymous wrote : Use the RealmMapping to obtain the CallerPrincipal mapping as the
  |  Principal returned from the authenticate methods. This allows a custom
  |  principal installed by a JAAS login module to be seen in the 
HttpServletRequest
  |  getUserPrincipal call.

I guess that is explaining the behaviour I see.

I'm not clear why this feature exists.  Is it just a convenience thing to map the user 
name to some other name.  In what scenario is that useful/necessary?

Thanks
Martin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem using JBoss JMS client with other JMS servers

2004-04-06 Thread xu2000
I am not using jnp here. Sun J2EE server does not support jnp, does it? 
Basically, I am seeking a way to talk to JMS queues/topics in other application 
servers (e.g. Sun J2EE, WebSphere, etc) from JBoss client code with/without JBoss 
server running. I am using iiop for this (is there any other way?). But connecting to 
port 1050 using iiop does not give me the JMS conext. All I got is the list of objects 
shown in my first post. Any idea what's going on? Thanks.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I create my own TopicConnectionFactory?

2004-04-06 Thread timkk
Thanks
   tim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss as a Windows Service

2004-04-06 Thread rreily1978
use javaservice 
www.alexandriasc.com/software/ JavaService/download.html 

instructions:
http://jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows

note: if your log folder, and stderr.log and stdout.log files  under 
c:\jboss\server\default is not created then service will start and promptly stop. - 
create these manually first and should be fine.

cheers 
Riles

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: commons-crap

2004-04-06 Thread jdbrown
I also am having a problem with this.  I need to use a newer version of the 
commons-httpclient.jar and when I include it in /server/default/lib and 
deploy my EJB, I get a java.lang.VerifyError.  I asusme this is because the version in 
/lib is already loaded.

JBoss 3.2.1 and trying to use commons-httpsclient-2.0.jar

Any ideas?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - how to avoid JNDI port conflicts at startup?

2004-04-06 Thread davekohr
We run JBoss 3.2.3 on Windows 2000 systems, and at startup we often have a fatal error 
due to a port number conflict betweenJBoss' JNDI and other processes that are 
temporarily using that same port number. Up to now we have used just the default JNDI 
port of 1099. I am thinking to try to avoid this problem by picking a much higher port 
number (like say 11099) that is less likely to be taken by some other process.

As I understand it, there is no "well known port" for JNDI. So is there any other 
guidance about how to pick a port number that won't have conflicts?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem using JBoss JMS client with other JMS servers

2004-04-06 Thread [EMAIL PROTECTED]
Does the same code work from a plain java client?

If you are configuring your own initial context jnp will have no affect.

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - configure jboss to automatic discard bad database connection

2004-04-06 Thread higashi
Hi all,

How can I configure JBoss to automatic discard bad database connections?

For example... when I shutdown my DBMS, I always have to restart JBoss to create a new 
connection pool. If I don't restart JBoss, it will try use bad connections (the 
connections pooled before the dbms shutdown)...

thanks,

Claudio

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I create my own TopicConnectionFactory?

2004-04-06 Thread [EMAIL PROTECTED]
Connection factories are configured using xml files
see for example uil2-service.xml

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FoeDeployer and ConnectionFactory's

2004-04-06 Thread [EMAIL PROTECTED]
I don't think you want a temporary destination do you?

It only exists once the MDB is deployed and there is no mechanism to configure
the security for them (other than the default security on the jms security manager).

You would be better off creating permenant queues like those in
jbossmq-destinations-service.xml

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException: hibernate not bound

2004-04-06 Thread tads
Hi all,

IÃÂm using JBoss 3.2.3 with Hibernate 2.0.2, Oracle 8.1.7.

I created a .sar that contains the beans and the jboss-service.xml.
I put this .sar into ../default/deploy and the arq.war too.

But when I start the jBoss the following exception occurs:

javax.naming.NameNotFoundException: hibernate not bound.

When I go to the jmx-console to verify the jndi, the jndiName
is java:/hibernate/HibernateFactory.

IÃÂm using HibernatePlugin.java to get the SessionFactory:


  | InitialContext ctx = new InitialContext(); 
  | this.factory = (SessionFactory)ctx.lookup("java:/hibernate/HibernateFactory"); 
  | 
  | 

but this code returns the exception above.

What is the error?

thank you very much

[]ÃÂs

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL with Tomcat in JBOSS 3.2.3

2004-04-06 Thread acox
So if this is truely a warning, and also to avoid the DEBUG errors for every SSL 
connection:

2004-04-06 12:52:59,697 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new 
thread data
2004-04-06 12:53:01,840 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Error 
getting client certs
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
...

I added the section below to log4j.xml.  This hides the TLS errors on startup and the 
authentication errors (even though clientAuth="false")


  
  |
  |  
  |

Have I opened myself up to masking other issues, or is this a legitmate "solution"?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit

2004-04-06 Thread genman

I created a special MBean that would issue "SHUTDOWN COMPACT" when the server got shut 
down.  You can also issue a "CHECKPOINT" command every X minutes through a timer.

http://sourceforge.net/tracker/index.php?func=detail&aid=844654&group_id=22866&atid=376685


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Problemas getting struts-config.xml file as InputStream

2004-04-06 Thread Martin0
I believe there are classes in struts to get whatever you want to know about the 
config.

I would try posting your wider goal to the struts user email list

Martin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB not exchanged at redeploy (JBOSS 3.2.3)

2004-04-06 Thread genman
"murxx" wrote : 
  | I already noticed that there is a part that only appears in the first deployment: 
creating a new temporary destination: queue/dias/miner/Analyzer. That is why I ask, if 
I have more to configure than only the queue in the jboss.xml !

You should create the dias/miner/Analyzer queue in an .xml file resembling the example 
file "jbossmq-destinations-service.xml" 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Problemas getting struts-config.xml file as InputStream - se

2004-04-06 Thread juarezjunior
Hello there, 
I am trying to read the struts-config.xml file, located in the WEB-INF folder. I am 
using JBoss 3.2.1-tomcat-4.1.24. 

I used the method ServletContext.getResourceAsStream("/WEB-INF/struts-config.xml"); 
This is ok but when I try to do something with the returned InputStream the exception 
below occurs. 

Is this a security issue ? May someone help ? 

java.net.ConnectException: Connection refused: connect 
at java.net.PlainSocketImpl.socketConnect(Native Method) 
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) 
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) 
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) 
at java.net.Socket.connect(Socket.java:452) 
at java.net.Socket.connect(Socket.java:402) 
at sun.net.NetworkClient.doConnect(NetworkClient.java:139) 
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402) 
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618) 
at sun.net.www.http.HttpClient.(HttpClient.java:306) 
at sun.net.www.http.HttpClient.(HttpClient.java:267) 
at sun.net.www.http.HttpClient.New(HttpClient.java:339) 
at sun.net.www.http.HttpClient.New(HttpClient.java:320) 
at sun.net.www.http.HttpClient.New(HttpClient.java:315) 
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510) 
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487) 
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) 
at java.net.URL.openStream(URL.java:913) 
at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:740) 
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:700) 
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258) 
at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl
 
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScann
 
at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.jav
 
at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.jav
 
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) 
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148) 
at org.apache.commons.digester.Digester.parse(Digester.java:1562) 
at 
com.unisys.framework.monitor.struts.UGOStrutsConfigDigester.parse(UGOStrutsConfigDigester.j
 
at 
com.unisys.framework.monitor.struts.UGOStrutsConfigDigester.(UGOStrutsConfigDigester. 
at 
com.unisys.framework.presentation.listener.UGOHibernateServletContextListener.ugoAfterConte
 
own Source) 
at 
com.unisys.framework.presentation.listener.UGOHibernateServletContextListener.contextInitia
 
ce) 
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3269) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3598) 
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) 
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41
 
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.ja
 
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357) 
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) 
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) 
at $Proxy7.deploy(Unknown Source) 
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
 
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) 
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploym
 
0) 
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScann
 
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 
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.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi

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

2004-04-06 Thread schlumpf
Hi all,

where can I see the generated jboss specific descriptor-files. The generated ejb.jar 
has only the same weblogic-descriptors. Is there at all a possibility generate them?

caio
schlumpf

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: how do I enable JMX monitoring entity bean locking?

2004-04-06 Thread cvandyck
If you are invoking printLockMonitor and the values for  Total Lock Time, Num 
Contentions, and Time Outs are 0, then I would not think that to be a problem 
necessarily.

What exactly is it you are trying to see?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
Here is the resolution of this issue. It turns out that we hit some weird 
networking/Solaris problem between two specific Solaris machines. What happens is that 
when the client on one machine disconnects from the server (running on the other 
machine), Solaris does not cleanup the sockets. 

As far as JBoss is concerned the sockets are still open. Furthermore, this condition 
seems to break the SO_TIMEOUT setting. Even though timeout is set on the read, the 
read never times out.

I was able to reproduce this behavior with a simple program that just does simple 
socket connections and transmits some data. 

Clearly this is not a JBoss problem but Solaris/network issue.

Thanks for all the pointers!

...richie

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Changing user in hsqldb connection ...

2004-04-06 Thread sandros

Hi,

I created a new hsqldb user with the command:

create user test password mytest admin;

in the DatabaseManager provided by jboss.

I changed the hsqldb-ds.xml file in order to use the new user:


test
mytest

But when I start jboss, hsqldb remains looking for the 'SA' user.
Are there any other file to change ?

Thanks in advance, 


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] hibernate create tables

2004-04-06 Thread Stefan Groschupf
Hi,

I'm using hibernate as mbean in jboss.
I couldnt get the auto creation of the tables in my database running.
I tried  update in 
my jboss-service.xml but got this exception:

Depends On Me: org.jboss.deployment.DeploymentException: No Attribute 
found with name: hibernate.hbm2ddl.auto, ObjectName: 
jboss.j2ee:jndiName=local/HostMessageReceiverMDB,service=EJB
 state: FAILED

Does someone know how to set this property?

Thanks
Stefan
---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread LORDs_diakonos
I have tried 4 different snapshots.  I got them to build on Linux but the above errors 
happen on Windows.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread thepriz
Not sure about the snapshot download which you seem to be using but a checkout from 
cvs builds and works great.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - FoeDeployer and ConnectionFactory's

2004-04-06 Thread timkk
Hi all,

I'm testing the FoeDeployer-Migration-Tool.
The Tool cannot bind the ConnectionFactory and Topics under the right JNDI-Name.
Here some examples from the server.log:
2004-04-06 19:48:27,233 WARN  [org.jboss.ejb.StatefulSessionContainer] No resource 
manager found for jms/ArtikelTopicConnectionFactory
2004-04-06 19:48:27,233 WARN  [org.jboss.ejb.StatefulSessionContainer] No resource 
manager found for jms/KundeTopicConnectionFactory

2004-04-06 19:48:27,452 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
destination not found: topic/KundeMDB reason: javax.naming.NameNotFoundException: 
KundeMDB not bound
2004-04-06 19:48:27,452 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating 
a new temporary destination: topic/KundeMDB

The Topic configured in WebLogic was topic/KundeTopic, but the FoeDeployer use 
topic/"BEANNAME".

How can I affect the migration condition or is it not possible?

thanx
 tim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - FoeDeployer and ConnectionFactory's

2004-04-06 Thread timkk
Hi all,

I'm testing the FoeDeployer-Migration-Tool.
The Tool cannot bind the ConnectionFactory and Topics under the right JNDI-Name.
Here some examples from the server.log:
2004-04-06 19:48:27,233 WARN  [org.jboss.ejb.StatefulSessionContainer] No resource 
manager found for jms/ArtikelTopicConnectionFactory
2004-04-06 19:48:27,233 WARN  [org.jboss.ejb.StatefulSessionContainer] No resource 
manager found for jms/KundeTopicConnectionFactory

2004-04-06 19:48:27,452 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
destination not found: topic/KundeMDB reason: javax.naming.NameNotFoundException: 
KundeMDB not bound
2004-04-06 19:48:27,452 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating 
a new temporary destination: topic/KundeMDB

The Topic configured in WebLogic was topic/KundeTopic, but the FoeDeployer use 
topic/"BEANNAME".

How can I affect the migration condition or is it not possible?

thanx
 tim




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Re: Tutorial on Web Services using APACHE-AXIS1.1 with JBOSS

2004-04-06 Thread brian_k_ng
Hey, what is going on her with this exception message
 FIXME 

I am following your tutorial as well, and got the
 same Exception that said FIXME. 

Here is my WSDD ---


http://xml.apache.org/axis/wsdd"; 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  






  



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - MigrationTool for WebApplications?

2004-04-06 Thread timkk
Hello,

I'm searching for a Migration-Tool for web-applications like the FoeDeployer for 
jar's. Is there something like a war-Migration-Tool available?

thanx
  tim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Seed JBoss instance pool

2004-04-06 Thread anodos
Is there any way to configure JBoss so that it seeds a stateless session bean instance 
pool on deployment?  I tried using something like this:

  |  
  | 100
  | 10
  |  
  | 
But, JBoss didn't instantiate any SLSBs when I deployed my .ear.  I read in the docs 
somwhere that JBoss currently does not seed the pool, but thought maybe since I'm 
using JBoss 4.0.0 DR3 that there might now be an option?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - How can I create my own TopicConnectionFactory?

2004-04-06 Thread timkk
Hello,

can I create in JBoss my own TopicConnectionFactory like in the 
reference-implementation from Sun. 
There you can add a JMSFactory with j2eeadmin -addJmsFactory.
How can I do this in JBoss? 

Thanx
   tim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Problems with connecting to OracleDB

2004-04-06 Thread timkk
The listener was the problem!
I got the wrong port from the DBA under the port the listener wasn't started.

Thanx 
 tim

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FAQ - Read this second

2004-04-06 Thread kshiv2001
Hi Adrain,
 I tried to use openjms for some mdbs as a remote jms provider. 
changes done:-
1. added in standardjboss.xml
  
  
 open-jms-provider
 open-jms-provider
 org.jboss.ejb.plugins.jms.JMSContainerInvoker
 
OpenJMSProvider
StdJMSPool2
15
1

   10
   
  /queue1
  10
  0
   

 
  


2. deployed on file openjms-ds.xml




  
  
  

  
  
OpenJMSProvider
rmi://local:1099

org.jboss.jms.openjms.OpenJMSProvider

JmsQueueConnectionFactory
JmsTopicConnectionFactory
  


3. added the resources in mdb jboss.jcml
  
 TestMDB
 queue1
  


   
open-jms-provider

 

   


I sent  some messages to openjms server, but my mdb in jboss never listens for them. 
what could be wrong then?
please reply me.
Thanks&Regards,
siva
[EMAIL PROTECTED]

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMS-dependent MBean breaks on JBoss startup

2004-04-06 Thread mshivas
Thank you Juha,

Adding this attribute to my jboss-service.xml file did the trick.


  | jboss.mq:service=InvocationLayer,type=UIL2
  | 

Mike

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Weird classloading issue with 3.2.3 & WSDP

2004-04-06 Thread cvandyck
Hi,

I've got a web services bundle deployed as a .WAR within my main EAR.  The web 
services servlet needs to use Xerces to parse the WSDL file.  When I deploy the 
application, the web services application can successfully load this class and parse 
the file.

However, whenever I log into the main application (that uses Cocoon, Xerces/Xalan 
etc), any further attempts to retrieve the WSDL file from my webservices servlet 
results in:

java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser

Now, I have tried a couple of different things:

1. Have placed the xercesImpl-2.0.0.jar in the WEB-INF/lib of my webservices.war.  

2. Have placed the xercesImpl-2.0.0.jar in the root of my .EAR and added to my 
application.xml


  | 
  | xercesImpl-2.0.0.jar
  | 
  | 

But in each of these scenarios, I get the same results.  It is fine until I use  the 
main application bundled with the .war (which consists of two other war's and an 
ejb.jar).

I am confused as to why the class would be visible at first to my webservices war, and 
then not.

Can anyone give me pointers as to what I may be doing wrong?

thanks!


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss Production Configuration

2004-04-06 Thread richardzheng
When an application is released, how to config it as a real production.

How to disable Jasper development mode?
How to disable logging for the web container?
How to disable access logging?

I disabled Log4j Initialization in jboss-minimal.xml and jboss-service.xml, but there 
are still temporary files generated in C:\Documents and Settings\username\Local 
Settings\Temp such as Jetty__80__invoker, Jetty_0_0_0_0_80__jmx-console, 
Jetty_0_0_0_0_80__, Jetty_0_0_0_0_80__jbossmq-httpil and Jetty_0_0_0_0_80__web-console.

Any suggestions are appreciated.

Thanks in advance
Richard



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ording of the messages

2004-04-06 Thread [EMAIL PROTECTED]
Yep.

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Messages only delivered after server restart.

2004-04-06 Thread [EMAIL PROTECTED]
I don't see anything in the logs. Other than some opens and closes.
Looks like you'll have to enable TRACE.

If the queue is empty, but a restart resends the messages, that means
the messages have been delivered to the client but the client has neither
acked or nacked them.

Restarting the server will recover the unacknowledged messages.

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - problem using JBoss JMS client with other JMS servers

2004-04-06 Thread xu2000
Hello,

I am trying to use a JBoss JMS client (on an AIX machine) to connect to other 
application servers such as Sun J2EE server located on a different host. I am 
experiencing some problem with JNDI lookup. By default, Sun J2EE server uses iiop and 
JBoss uses jnp as the JNDI protocol. I am trying to use iiop for JBoss to lookup 
objects in the J2EE server. Below is my property setting:

java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
java.naming.provider.url=iiop://:1050

After I create an InitialContext, I do a list() on the default context. Here is what I 
get:

ServerObject: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
tbsdev-nt.com\.sun\.jms\.service\.JMSService\.IIOP: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
RemoteLogReader: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
WebInstaller: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
JarInstaller: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
J2EE_UNIQUE_VALUE_GEN: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
DatabaseInformation: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
ServerConfiguration: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
Realm_Manager: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...
SerialContextProvider: 
com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:...

If I do a lookup on the ConnectionFactory or any queue/topic I created in the Sun J2EE 
server, I would get the following exception:

javax.naming.NameNotFoundException [Root exception is 
org.omg.CosNaming.NamingContextPackage.NotFound: 
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]

Does anybody know how I can access JMS context in Sun J2EE server from JBoss client 
using iiop? I have been struggling with this for a few days. Any help will be 
appreciated.

Thanks.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread [EMAIL PROTECTED]
Any tutorial that explains how to use JNDI should do. RMI works the same.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - env not bound

2004-04-06 Thread Berritxu
Hello!

I'm launching an EJB from dispatcher, but at runtime I obtain a NamingException error: 

env not bound

My source code is something like that:

InitialContext ic = new InitialContext();
Object objRef = ic.lookup ("java:comp/env/ejb/myEJB");

Somebody knows how I can solve it? Why MBean can`t locate "env"?

Thanks


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: When to close JDBC-connection for remote User Tx?

2004-04-06 Thread [EMAIL PROTECTED]
Since you session is stateless you must close the connections.
There is no way and you are not allowed to hold connections open for the client
for stateless.

Closing the connection does not commit the transaction. It just suspends the
connection. Further work in the same transaction will use the same connection.

MySQL has no support for XA, so I don't know what you mean by older.
Make sure you are using InnoDB tables. The older MySQL
table types do not support transactions.

Regards,
Adrian

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem while deployment

2004-04-06 Thread jae77
could you provide some additional information? right now  a stack trace would be 
useful. 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Mysql 5.1 datasource problems

2004-04-06 Thread captrespect
Nevermind.  I solved this one already.  On a hunch I removed my ms sql server jdbc 
driver, thinking they may be conflicting.  Now It works fine.

Can you use multiable types of databases at the same time?  Or is this just an error 
in the driver?  




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Problem while deployment

2004-04-06 Thread at_sharma
Hi,
I am new to jBoss and getting problem while deploying my application. Can someone 
help me in telling tat how to deploy JAVA, STRUTS, EJB application on jBoss.

Thanks,
-ATUL-

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Mysql 5.1 datasource problems

2004-04-06 Thread captrespect
We are trying to migrate our sql server database to mysql 5.  I can't seem to get a 
datasource from the mysql 5 connection in my servlets. I can connect to the database 
by not using dbcp and using the connection string and I can get a datasource from MS 
Sql Server.  Has anyone been about to do this or is it a problem with mysql 5 alpha?

using Jboss 3.2.3, suse 9, mysql 5.0.0
tried with connect/j 3.0.11 and connect/j 3.1.1-alpha

Here's what I got:
web.xml:

  | 
  | MySqlTest
  | javax.sql.DataSource
  | Container
  | 
  | 
jboss-web.xml:

  | 
  | 
  | MySqlTest
  | java:/MySqlTest
  | 
  | 
  | 
-ds.xml:

  | 
  |   
  |   MySqlTest
  |   jdbc:mysql://localhost:3306/TestDB
  |   com.mysql.jdbc.Driver
  |   test
  |   test
  |   20
  |   300
  |   1
  |   
  | 
  | 
failing servlet code: 

  | Context init = new InitialContext();
  | Context ctx = (Context) init.lookup("java:comp/env");   
  | ds = (DataSource) ctx.lookup("MySqlTest");  
  | 
  | con = ds.getConnection();   //throws exception here
  | 

and finally the exception:

  | 11:26:08,315 WARN  [JBossManagedConnectionPool] Throwable while attempting to get 
a new connection:
  | org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (java.sql.SQLException)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:160)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:477)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:496)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:425)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:318)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
  | at test.DBConnection_Beta.setConnection(DBConnection_Beta.java:77)
  | 

Thanks,

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread k2c
Hi juha!

Do you know some source of information where can i learn how to implement the method 
rebind() in a MBean ?

Another aproach  What if we use RMI to start and stop the MBean? Would that be the 
same as manually stopping and starting the Mbean ?

Thanks 


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: calling an EJB from MBean

2004-04-06 Thread [EMAIL PROTECTED]
There's nothing different about invoking an EJB from an MBean compared to invoking an 
EJB from a standalone client. The same API calls apply and the behavior is the same.

Naming exception indicates you're using the wrong lookup name trying to get to the 
home proxy. Use the name in the global name space (MBeans don't have a private ENC and 
private references like EJBs).


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustering with Message driven Beans......(Exception:File no

2004-04-06 Thread goutamp
Hi all,
iam working for the first time on clustered envinronment, so iam not getting some 
things rightcan anyone help me in this problem:

  In my code iam using a messge driven bean and a servlet for the JBoss clustering 
environement.

  My clustering is with default partition.So my code is working fine when no nodes 
are up in the cluster.But if any node in the cluster is up, then my server is 
recognizing the other node which came up, but some exceptions arised in my server 
which is bothering me.

 Those exceptions are related to some files in my deploy directory and it those 
exceptions are:

1.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jmx-console.war 
(Access is denied)
FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jmx-console.war (Access is denied)

2.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\deploy.last (Access 
is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\deploy.last (Access is denied)

3.java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\jboss-net.sar 
(Access is denied)
 [FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jboss-net.sar (Access is denied)

4.java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jmx-invoker-adaptor-server.sar (Access is denied)
 [FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jmx-invoker-adaptor-server.sar (Access is denied)

 5. java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-httpil.sar (Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-httpil.sar (Access is denied)

6. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\http-invoker.sar 
(Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\http-invoker.sar (Access is denied)

7. java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-hail.sar (Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jms\jbossmq-hail.sar (Access is denied)

8. java.io.FileNotFoundException: C:\jboss-3.2.3\server\all\deploy\snmp-adaptor.sar 
(Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\snmp-adaptor.sar (Access is denied)

9. java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jbossha-httpsession.sar (Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jbossha-httpsession.sar (Access is denied)

10. java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jbossweb-tomcat41.sar (Access is denied)
[FarmMemberService] java.io.FileNotFoundException: 
C:\jboss-3.2.3\server\all\deploy\jbossweb-tomcat41.sar (Access is denied)

These exceptions were arised on my server.
So can ayone explain me why these exceptions arised and how to get rid of them.
Did i miss anything when clustering.(Please remember my bean  is a Message Driven 
Bean).

Can anyone solve this.

Best Regards,
-Goutam.




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Accessing JNI DLL's from JBOSS

2004-04-06 Thread [EMAIL PROTECTED]
There's no restrictions on the default config.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: calling an EJB from MBean

2004-04-06 Thread Berritxu
Well, I'll try to clarify my question.

I've an MBean, launched by dispatcher, which every minute verifies the hour and, in 
some specific moments, calls an EJB. 

I've developed an Entity Bean to access the database, and this EJB is controlled by 
the corresponding Session Bean. My problem is that I don't know how to launch this 
Session Bean from the MBean, how to create a Session Bean object in the MBean to 
access, by the Entity Bean, to the database. 

I've tried to do this of many forms. Sometimes, I obtain a NamingException "not 
bound", using the BeanManager class defined by sun in Duke'sBank example. If I use 
this source code directly, I obtain an java.lang.reflect.UndeclaredThrowableException. 
And this code only tries to obtain a home interface of this EJB!! 

I think the problem is around contexts, because I'm calling an EJB from an MBean, 
instead of calling from a Servlet. But I don't know how to solve it!

If somebody has any suggestion, tell me it, please.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: cvs install problems

2004-04-06 Thread LORDs_diakonos
Can anyone get the CVS built?  What am I doing wrong?  

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: SAR in EAR?

2004-04-06 Thread [EMAIL PROTECTED]
SAR is not part of the J2EE specs so I guess it is up to what makes more sense to you.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Messages only delivered after server restart.

2004-04-06 Thread tdevos
I mailed you the logs from the server and client. In fact I don`t think that it is a 
client problem since only a server reboot solves the problem. Also the JMX-console 
reports that there are 0 messages on the queue.

Tim De Vos

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBeanException: Exception in MBean operation 'start()'

2004-04-06 Thread Amresh
We use the jmx RMIAdaptor with in JBoss to stop and start a MDB once every day.

The MBean has been working without any problem for 3-4 months except twice when we got 
the following exception.

Caused by: MBeanException: Exception in MBean operation 'start()'
  | Cause: javax.naming.NameAlreadyBoundException; remaining name 'env'
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:303)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | 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.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:249)
  | at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
  | at 
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:58)
  | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:55)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
  | at $Proxy20.invoke(Unknown Source)


Has anyone come across similar problem? The relevant code is:

 String name = "jmx/rmi/RMIAdaptor";
  |  InitialContext ic = new InitialContext();
  |  RMIAdaptor rmiAdaptor = (RMIAdaptor) ic.lookup(name);
  |  rmiAdaptor.invoke("jboss.j2ee:jndiName=local/testmdb,service=EJB", "start", null, 
null);


Amresh


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBOSS hangs after contineous running for about 2 weeks

2004-04-06 Thread richardzheng
Hello Lothar,

Thank you for you reply. I will try it.

Thanks

Richard


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JNDI access to java:/Mail from MDB

2004-04-06 Thread bruth
OK, I'm still not seeing anything. In jboss.xml, in the 
... for my MDB, what is the resource-name supposed to 
refer to? If the JNDIName I've defined for mail-service.xml is java:/Mail, is 
resource-name supposed to be 'Mail' or java:/Mail, or something else? 

Also, in JNDIView, am I supposed to see these entries under the java:comp namespace of 
my EJB? That would be my assumption ... Right now, all I see listed for my EJB is 
'env' -

java:comp namespace of the MessageWriterEJB bean:
  | 
  |   +- env (class: org.jnp.interfaces.NamingContext)

I very much appreciate any and all help in getting to the bottom of this ... and many 
thanks for being patient with a newbie!

Here's what I have now:

jboss.xml:

  | http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd";>
  | 
  | 
  |
  |   
  |  MessageWriterEJB
  | queue/BricesQueue
  |  
  | mail/MailProvider
  | Mail
  |  
  |   
  |
  |
  |
  | 
  | 

ejb-jar.xml:

  | 
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | 
  | 
  |[CDATA[No Description.]]
  |Generated by XDoclet
  | 
  |
  | 
  |   
  |   
  |  [CDATA[MessageWriterBean EJB]]
  |  MessageWriterEJB
  | 
  |  MessageWriterEJB
  | 
  |  msg.ejb.MessageWriterBean
  | 
  |  Container
  |  
  | javax.jms.Queue
  |  
  | 
  |  
  | mail/MailProvider
  | javax.mail.Session
  | Container
  |  
  | 
  |   
  | 
  |
  | 
  |
  |
  |
  | 
  |
  | 
  |
  |
  | 
  | 
  | 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: what is the difference between form-based and BASIC-base

2004-04-06 Thread liuhf
thank you for your explaination.

liuhf.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Help with Proper use of JB-QL MAX returning 1 complete e

2004-04-06 Thread WebSel
I've found a workaround for now:

SELECT OBJECT(o) FROM Test o WHERE o.report_id =?1 ORDER BY o.log_id DESC LIMIT 1

Could anyone post a version which uses the MAX() function of JB-QL please?

Thanks,
Wessel de Roode

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: where to place my logging.Logger.pluginClass

2004-04-06 Thread khohl
Thanks for replying.

Unfortunately, I just tried both adding the class to the system classpath and adding 
it to run.jar and it still can't be found.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - SAR in EAR?

2004-04-06 Thread dhartford
Hey all,
Simple question - for J2EE specs/best practice, should a SAR be included in the EAR, 
or deployed seperately from the EAR for an application?
-D

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - jaas_howto on 3.2.4 reports different user to 3.2.3

2004-04-06 Thread Martin0
Scott,

On 3.2.3 it reports user java
On 3.2.4 it reports user caller_java

I thought caller_java in the example was a role - not a user.

Why has this changed? Is this a bug?

Thanks
Martin




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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Problems using InputStream in JBoss

2004-04-06 Thread juarezjunior
Hello there,
I am trying to read the struts-config.xml file, located in the WEB-INF folder. I am 
using JBoss 3.2.1-tomcat-4.1.24.

I used the method ServletContext.getResourceAsStream("/WEB-INF/struts-config.xml");
This is ok but when I try to do something with the returned InputStream the exception 
below occurs. May someone help ?

java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.(HttpClient.java:306)
at sun.net.www.http.HttpClient.(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615)
at java.net.URL.openStream(URL.java:913)
at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:740)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:700)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:258)
at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScann
at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.jav
at 
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.jav
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
at org.apache.commons.digester.Digester.parse(Digester.java:1562)
at 
com.unisys.framework.monitor.struts.UGOStrutsConfigDigester.parse(UGOStrutsConfigDigester.j
at 
com.unisys.framework.monitor.struts.UGOStrutsConfigDigester.(UGOStrutsConfigDigester.
at 
com.unisys.framework.presentation.listener.UGOHibernateServletContextListener.ugoAfterConte
own Source)
at 
com.unisys.framework.presentation.listener.UGOHibernateServletContextListener.contextInitia
ce)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3269)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3598)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.ja
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploym
0)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScann
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
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.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system

[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
1) The jmx-console web app should be secured like any other web app

I'll think about other things later.

Martin

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM

2004-04-06 Thread fheldt
Do you use ant?

Then putting

 * @jboss-net.authentication
 *   domain="openbroad"
 *   validate-unauthenticated-calls="true"
 *
 * @jboss-net.authorization
 *   domain="openbroad"

in your (Webservice) Session Bean should do the job, which means it puts the 
corresponding entry in webservice.xml

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Actual number of bean instances in the pool

2004-04-06 Thread cvandyck
Hi Cari,

No problem, you will be able to find this information not only for entity beans, but 
also stateless session beans.  I'm sorry if my post was misleading in that regard.

Collin

ps. HTH == Hope This Helps :)


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread michaellee
Actually, i am new to J2EE Application server and just develop a simple application. 
What i am thinking is:

In the development environment, jmx-console is not protected and each programmer can 
use the JNDIViewer to obtain the JNDI name defined for the datasource. Afterward, a 
simple JSP may be developed and then deployed (thru formal procedure since the boss do 
not know what the JSP is all about) to production server. If production environment is 
the same as testing (respect to JNDI naming), the JSP can be used to access restricted 
information.

On the other hand, deployment descriptor for production server may not be so easily 
accessible.

Any suggestion?

Regards,
Michael 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Data Access Object and session bean

2004-04-06 Thread gunzip
public class StoreAccessDAOImpl implements StoreAccessDAO{

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB remote calls optimization

2004-04-06 Thread cari34
Hi jae,
Thank you for the reply.
Do you have any hints how could I know if the EJB methods 
arguments are passed by reference ?
Does JBOSS provide this information anywhere ?

Thank you.
Cari

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS with OpenJMS

2004-04-06 Thread kshiv2001
Hi, 
 I tried with the classes you specified.(created the jar and placed in 
server/default/lib/ dir and placed the client jars needed for the openjms and changed 
the jms-ds.xml for the openjms provider) But didn't work.
could you please give a step by step procedure to enable openjms with Jboss?
Thanks a lot in advance.
-Siva

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Actual number of bean instances in the pool

2004-04-06 Thread cari34
Hi HTH,
Thank you for your reply.
Just for information, I use stateless session beans.

Thank you.
Cari


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Howto: README FIRST

2004-04-06 Thread Martin0
Still looks like 3.2.1 to me.
Do you expect to update it for 3.2.4?


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
They can only do that if they can deploy it in the relevant security domain (I 
believe).

Bottom line is they can use a command line SQL tool to access the database.  Sounds 
like the security you need belongs in the database too.

Also if they have access to the deployment descriptors, they can just change the 
method-permission.

Sounds like you need to restrict access to the production server and have the 
application deployer be a trusted member of staff.

I'm interested to see what outcome you have.

Martin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread michaellee
Martin,

Thanks for your information. 

Using the proposed method, the database password can be encrypted and not readable in 
the config file. However, by using JNDI lookup for the datasource, then call 
getConnection using the return datasource, a connection will be created to access the 
database even though the password is unknown. Is this correct?

Is it possible to specify connection information in say jbosscmp-jdbc.xml?

Regards,
Michael

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Tomcat SSL does not work on Windows but fine on Unix/Lin

2004-04-06 Thread Martin0
Is javax.net.ssl.trustStore equivelent to Connector keystoreFile attribute in tomcat5 
server.xml?

Why use one instead of the other?

Thanks
Martin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JNI and JBOSS

2004-04-06 Thread darranl
You have already started a discussion on this, do not start another one.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread [EMAIL PROTECTED]
javax.naming.Context.rebind()

don't know if it is exposed as an MBean anywhere (naming service, or JNDI View), if 
not you'll have to implement your own MBean that does.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Raising JBoss ports on one particular ip-addess

2004-04-06 Thread kbk
Hi,

Env:
JBoss 3.0.8
Linux Redhat Enterprise 3.0

All our nodes in the production environment have mutiple ip-addresses. When JBoss 
starts it raises all the ports (1099, 8080, 8083...) on all available ip-addresses. 
This is not what we would like. Is it possible to configure JBoss to just raise the 
ports on one ip-address, and if yes how do we do it?

/Kris

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Error when deploy entity bean!!! Error: multiplicity ma

2004-04-06 Thread nsdeonia
Hi

It  entirely depends on your database schema.

mostly foreign key is at 'many' end of relation.

if this is the case 
use following to define relationship in your jbosscmp-jdbc.xml

your primary key field at 'one' end of relation will go to database field of 'many' 
end of relation.

hope I have not confused you.

You can refer to O'reilly's book & workbook on EJB 2.0 for defining of relationships.

regards
Narinder S.  Deonia.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: userid/password for CMP

2004-04-06 Thread Martin0
Michael,

I believe you can specify the security-realm login access to the database.

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

Martin


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
"[EMAIL PROTECTED]" wrote : What is the netstat status of these connections, 
connected?  Perhaps the tcp_keepalive_interval is too high, or not all OS patches for 
java have been installed.

Ah! Thanks for the suggestion. Seems that the tcp_keepalive_interval is set to the 
default value of 120 minutes (!!!). Doing netstat after reproducing the problem I see 
that the connection is still active. Even after the clients have been killed.

...richie

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - JNI and JBOSS

2004-04-06 Thread prax_vln
I could not call DLL's from my session bean deployed in JBOSS I have the DLL in JBOSS 
Path C:\JBOSS\BIN .please help me out

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSTL 2.0

2004-04-06 Thread atomas
Me too. Exactly the same error.

Did anyone fix it?

Thank you.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Help with Proper use of JB-QL MAX returning 1 complete entit

2004-04-06 Thread WebSel
Hi!

I firguring out how to write a finder method that returns one entity bean selected on 
a MAX creteria. 

I have a report_id, and every update on the report, the version field is incremented. 
To get the latest report available in SQL it would be

SELECT MAX(version),(other fields needed) FROM Test WHERE Test.report_id = ..

I tried this in JB-QL but get stucked.

  | * @jboss.query 
  | *  query="SELECT OBJECT(o) FROM Test o WHERE o.report_id = ?1 AND 
o.version=MAX(o.version)"
  | *  signature="java.util.Collection findByLatestVersionReport_id(int report_id)"
  | 

Something else i tried was:

  | SELECT OBJECT(o) FROM Test o WHERE o.report_id = ?1 AND o.version=( SELECT 
MAX(o.version) FROM Test o WHERE o.report_id=?1 )
  | 

Both queries won't work. Do i need to do this in two steps? like wrting two finders, 
1st is looking up max(version) and that is reused in the 2nd finder to get teh report? 
I hope not.

Many thanks in advance,

Wessel de Roode

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread k2c
Ok this is my output from the server.log file
when i do those actions:

'
[12:58:49,715,CORE_DB] Stopping
[12:58:49,716,CORE_DB] XA Connection pool CORE_DB removed from JNDI
[12:58:49,716,XAPoolDataSource] Closing DataSource
[12:58:49,716,XAPoolDataSource] Binding to JNDI name null
[12:58:49,716,ObjectPool] Removing pool: CORE_DB
[12:58:49,719,CORE_DB] XA Connection pool CORE_DB shut down
[12:58:49,719,CORE_DB] Stopped
[12:58:57,185,Connection] PING
[12:58:57,185,Connection] PONG, [EMAIL PROTECTED]
[12:59:03,094,Connection] PING
[12:59:03,094,Connection] PONG, [EMAIL PROTECTED]
[12:59:03,271,CORE_DB] Starting
[12:59:03,272,CORE_DB] setGCInterval(3)
[12:59:03,272,CORE_DB] setGCMinIdleTime(6)
[12:59:03,272,CORE_DB] setIdleTimeout(6)
[12:59:03,272,CORE_DB] setTimestampUsed(true)
[12:59:03,272,XAConnectionFactory] Starting
[12:59:03,331,ObjectPool] Adding pool: CORE_DB, GC enabled: true
[12:59:03,339,CORE_DB] Stopped
javax.naming.NameAlreadyBoundException: java:/CORE_DB already exists in the 
NonSerializableFactory map
at org.jboss.naming.NonSerializableFactory.bind(NonSerializableFactory.java:88)
at org.jboss.jdbc.XADataSourceLoader.bind(XADataSourceLoader.java:486)
at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:439)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.java:240)
at 
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRequestHandler.java:325)
at 
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlRequestHandler.java:152)
at com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler.java:79)
at com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
at java.lang.Thread.run(Thread.java:479)
'
Probably we should unregister the Name CORE_DB from the NonSerializableFactory

Any help ?

Thanks


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Deploying the same ear twice

2004-04-06 Thread zinumolbap
Hi all,

  I'm facing a problem I've been trying to solve for several days. The fact is I have 
an application wich uses Struts + EJBs.
My intention is to reuse it deploying it several times under different contexts. I've 
changed JNDI names associated with entity beans and also datasource info.
But my surprise is when I deploy two instances of this app under two different 
contexts using two different datasources, one of them empty.
When I access the app with the empty datasource I get info from the other app. It is 
like it is using EJBs from the other app.

This make me think of several questions. Is it possible to reuse code with only 
changing deployment descriptors? Maybe I've lost some step?

Please, any help will be very, very appreciated. This issue is making me insane.

Thanks in advance.

Pablo.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Error installing JSTL 1.1

2004-04-06 Thread atomas
I'm trying to use JSTL 1.1 but I'm getting an error when I try to deploy the app:

Document root element "taglib", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root 
"null".
...

Maybe I did something wrong (for sure!):

1st: I put standard.jar / jstl.jar within WEB-INF/lib
2nd: I added a TAGLIB element to the web.xml descriptor.

After that, I've been told that step 2 was not necessary. Even changing back step-2, 
same error ocurrs.

Where is the mistake?

Thanks a lot.


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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread [EMAIL PROTECTED]
Hmm, right. 2.x doesn't have redeployable services, only EJBs. Undeploy EJB, 
stop/start datasource, deploy EJB.



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-06 Thread antoine
I begin with authentication 
I don't know if it's good because of my problem (I give allpermission but nothing) but 
in auth.conf i don't put dsjndi
try without  and tell me what it does


my auth.conf :
MyLogin
{
//Login Module Needed - I use Database (Note it correlates to what I had in 
login-config.xml
org.jboss.security.auth.spi.DatabaseServerLoginModule required;
};
//NOT 100% SURE IF THIS IS NEEDED, SINCE I HAVEN'T DONE THIS IN A WHILE AND I FORGET, 
//BUT IT'S IN MY FILE (Although I think it's not needed)
other
{
//DEFAULT CLIENT-LOGIN MODULE
org.jboss.security.ClientLoginModule required;
};



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread k2c
Hi juha!

Thanks for your quick reply! :)

I am a newbie to jboss and i have a doubt. What do you mean by 'bounce the datasource' 
? What are the actions to follow to do that action?

I understand that deploy and undeploy is place and remove the ejb from the deploy 
directory.

Thanks once more for your help.

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Restart a pool MBean

2004-04-06 Thread [EMAIL PROTECTED]
Try undeploying the components that depend on the datasource (the EJBs), then bounce 
the datasource and redeploy the applications. Maybe that yields a better result.



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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] log4jservice$URLWatchTimerTask keeps reconfiguring

2004-04-06 Thread Stefan Schuster
Hi,

My log4jService keeps reconfiguring (and therefore truncating my
logfiles) every minute :

13:21:12,383 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
resource:log4j.xml

13:22:12,323 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
resource:log4j.xml

And so on

JBoss is running on SuSE Linux Enterprise Server, uname -a output is:
Linux grobi 2.4.21-190-smp #1 SMP Tue Feb 10 01:07:03 UTC 2004 i686 unknown

Jboss is Version 3.2.2

The log4j.xml file is not changed, not the content and not the timestamp.

Any suggestions ?

Thanks in advance,

Stefan


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >