[JBoss-user] [JBossWS] - how to do basic athentication with dynamic proxy client?

2005-03-23 Thread jobor
Hello

I'm using JBoss 4.0.1sp1.

I do call an external WS from a SLSB. It works OKE.


  | InitialContext context = new InitialContext();
  | DaisyService service = (DaisyService) 
context.lookup("java:comp/env/service/DaisyService");
  | TapeFacadeEndpoint port = service.getTapeFacadeEndpointPort();
  | result = port.getXMLByNumber(number);
  | 

But I want to add basic authentication to my dynamic proxy code.
I see examples of basic authentication with client stubs but not with dynamic 
proxy.

Code example of adding basic authentication to a stub

  | endpoint._setProperty(Stub.USERNAME_PROPERTY, "me");
  | endpoint._setProperty(Stub.PASSWORD_PROPERTY, "mypassword");
  | 

Has anyone any idea of how I can add basic authentication to my dynamic proxy 
code?


T.I.A.
Johan


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Could not create entity java.sql.SQLException: Io exception:

2005-03-23 Thread sbpyari
Hello 

i'm using Jboss 3.2.6 on Solaris 5.8 and DB as Oracle 8i. I have created a CMP 
bean where in i am updating a Blob data. The bean is working fine when i tested 
it on window/oracle or Mysql, Linux/Mysql. When i test the same application on 
Solaris Box, Jboss is throwin an exception Could not create entity 
java.sql.SQLException: Io exception: Connection reset

Any help appreciated

Regards
Pyari


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Tracing SQL statements

2005-03-23 Thread radl01
in log4j.xml

  |
  |  
  |
  | 

Jan

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Looking For JMX-Compliant Management Tools For JBoss-4.0.1sp

2005-03-23 Thread perakhing
Hi,
I am using JBoss-4.0.1sp1 as my AS and currently I am looking for external 
management tools (others then jmx-console and jmx web console provided by 
JBoss) which can provide extra features. For example 
a.) MC4J (Not supported JBoss-4.0.1sp1)
b.) XMOJO (only supported JMX1.0)
c.) EJTools JMX browser (supported JBoss-3.x only)
d.) Panoptes (supported JBoss-3.x only)
e.) MX4J.
f.) JMX4Ant.
g.) 
I would like to know is there any JMX-compliant management tools which 
supporting JBoss-4.0.1sp1 or JMX 1.2?

Please help. 



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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: not getting JMX MBean Operation Result for Topic

2005-03-23 Thread k_s_ashok
Hi Dimitris,  any reply??

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: ejb deployment

2005-03-23 Thread harshi2003
thanks

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - How to access DataSource properties

2005-03-23 Thread hhendler
Hello,
Given a DataSource object, I want to retrieve certain properties such as 
databasename, servername, port, etc. That is, info reflected in the 
connection-url.

I am using Sybase with JBoss 4.01 and the relevant portions of my sybase-ds.xml 
are:

 sybDS
jdbc:sybase:Tds:IMISFS21:3010/traccimis
com.sybase.jdbc2.jdbc.SybDriver

My sybase driver is jconn2d.jar

In my code I am getting a connection this way:

 Context objContext = new javax.naming.InitialContext();
 DataSource ds = (DataSource) objContext.lookup("java:sybDS");
 Connection con;
 con = ds.getConnection();

It all works fine, except I do not know how to extract the various properties 
of the datasource object.  I want to use the URL information for certain 
display purposes in my app.

The basic DataSource interface does not appear to have these methods, while the 
SybDataSource interface does have them.  Is there a way to instantiate and work 
with a SybDataSource instead?? 

I've done a lot of searching but could not find the answer but I'm also 
relatively new and may well be missing some obvious concepts.

Thanks for any input,
Howard



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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Configuring Mail Client to use smtp authentication

2005-03-23 Thread laughtonjackson
last post had this line in it but it did not post, even when disabling HTML.

property name="mail.smtp.auth" value="true"

Of course wrap it in "less than" and "/greater than"



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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: inheritance question

2005-03-23 Thread chiba
It seems that multiple versions of OrgUnitType had been
loaded.  The error message should be interpreted as that
the super class of OrgUnitImpl is a different version of
OrgUnitImpl from the version that the cast operator
(i.e. the class generated by Javassist) expects.

If my observation is true, this is not a problem of Javassist
or it cannot be solved with reflection.  You should carefully
redesign the delegation scheme by class loaders.


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Configuring Mail Client to use smtp authentication

2005-03-23 Thread laughtonjackson
Add...

 

to the mail-service.xml file.


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to get failover with HASingletons ?

2005-03-23 Thread monocongo
Thanks for your response.

Yes this is exactly what I am doing now, I only wish I had known of this 
possibility before wasting so much time trying to use a Singleton.  I now have 
MBeans which use the TreeCacheAop service with synchronous replication, and 
except for a few minor problems it is working flawlessly.


--James

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Stateless session bean accessing data throws error

2005-03-23 Thread B'Hally
I am using JBOSS 3.2.0. I get the following error. 


[TxConnectionManager$TxConnectionEventListener]
throwable from unregister connection
java.lang.IllegalStateException: Trying to return an
unknown connection1! 

I am using a Stateless Session Bean. and trying to a database operation. I saw 
that there was a bug opened in 2003 or something the bug ID is:
709583 

Does anyone anything about this issue ? I have no idea how to solve it or if I 
can solve it with 3.2.0

Thanks for any help !

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: VerifyError on javassist generated constructor

2005-03-23 Thread chiba
$0 means "this".  So maybe a right program is:


  | cons1.setBody("super((dome.interpretation.InterpretationFactory)$1, 
(dome.datamodel.FirstClassObject)$2);"); 
  | 

Note that the arguments are $1 and $2.

anonymous wrote : however if I don't then the javassist compiler complains that 
it cannot find the appropriate method. This is also true in methods as well as 
constructors.
  | 

This is because the type of $0 is not what you expected.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Servlet.service() for servlet jsp threw exception java.l

2005-03-23 Thread litflyhorse
I don't assert, but It's only present in All-Module

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: free download Jboss application server

2005-03-23 Thread drakonis
Hi. From my french lessons i took 7 years ago it seems it does not understand 
the java.exe command. That would be because you did not install JDK. The JDK 
contains the java runtime enviroment(java.exe) and a compiler(javac). Download 
the JDK from Sun and i'm sure it will work. 

Cheers!

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to get failover with HASingletons ?

2005-03-23 Thread viswaprasad
Did you try putting the state of your HASingleton in a distributed cache (like 
JBossCache ) instead of having it locally on your Master Singleton alone? So 
when the master dies and one of the slaves is promoted to Master, the state 
should be still accessible to it via the distributed cache. No?

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: using java 1.3 client with jboss

2005-03-23 Thread placebojim
Actually I have discovered that it is impossible to upgrade the client to run 
on JVM 1.4+ because SUN doesn't supply a JRE for our version of Solaris.

I might try to expose the Bean as a web services and see how that goes.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - javassist.expr.MethodCall.getClassName() question (bug?)

2005-03-23 Thread bammi
javassist.expr.MethodCall.getClassName() is supposed to return the className of 
the target object that the method call is on. If the target object implements 
an interface, and this methodCall represents a call to one of the methods of 
the interface that the taregt object implements, then 
javassist.expr.MethodCall.getClassName() returns the classname of the interface 
rather than the classname of the target object that implements the interface 
method. Am i misunderstanding the intent of getClassName() or is this a bug? If 
this is not a bug, how do i navigate to get the className of the Object that 
implements the interface?

Example:

public interface Greeting {
public void speak();
}

public class HelloWorld implements Greeting {
public void speak() {
System.out.println("Hello, world!");
}
}

in main:

Greeting h = new HelloWorld();
h.speak();

in the MethodCall().getClassName() for this method call, i get "Greeting", i 
was expecting to get "HelloWorld" as that is the Class of the target object "h" 
in this methodCall.

Thanks
[EMAIL PROTECTED]

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JBOSS DLQ Exception

2005-03-23 Thread prozario
Newbee here.  I've a question about DLQ.  I've a mbean which process message 
coming from IBM MQ (setup thru JMS), and sent it to DLQ after 15 retries.  It 
works fine when the message is coming from a standalone java app into mq.  But 
when it comes thru outside clients (using RPG to put message into MQ), we get 
following exceptions.  Something about the message that the DLQHandler doesn't 
like.  We are using ver 3.2.3.  Any suggestions would be greatly appreciated.

>>>  jboss log file .>
 Message resent too many times; sending it to DLQ; message 
id=ID:c1d4d840d5d1c7c9c4d4404040404040423e67f8200e700b
Exception in JMSCI message listener
java.lang.NullPointerException
at org.jboss.ejb.plugins.jms.DLQHandler.sendMessage(DLQHandler.java:279)
at 
org.jboss.ejb.plugins.jms.DLQHandler.handleRedeliveredMessage(DLQHandler.java:233)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:110
5)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1136)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:182)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
at java.lang.Thread.run(Thread.java:534)


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Is tcpmon, which comes with the JBoss tutorial, the corr

2005-03-23 Thread jboss_tapsa
I have same problem with TCPmon. Following issue describe that error. Problem 
seems to be involved with JDK 1.5.x.

anonymous wrote : 
  | [jira] Created: (AXIS-1800) tcpmon AWT-EventQueue-0 bug in JDK1.5
  | 
  | dre pac (JIRA)
  | Wed, 02 Feb 2005 12:19:08 -0800
  | 
  | tcpmon AWT-EventQueue-0 bug in JDK1.5
  | -
  | 
  |  Key: AXIS-1800
  |  URL: http://issues.apache.org/jira/browse/AXIS-1800
  |  Project: Axis
  | Type: Bug
  |  Environment: JBoss 4.0.1 running on JDK 1.5.0_01
  | Reporter: dre pac
  | 
  | 
  | After running tcpmon ,when trying to push the "add" button to listen on 
port 
  | 8070 ,for example, I get a AWT-EventQueue-0 NullPointException instead of a 
new 
  | tab for the selected port. This problem does not seem to occur when using 
JDK 
  | 1.4.2_07 which I am using as a temporary solution.
  | I have been trying to google this issue but not many people seem to have 
this 
  | problem except those who tried ruuning tcpmon with JDK1.5. I find it really 
  | strange since both axis and JDK1.5 have been around for quite a while now, 
and 
  | what's even stranger is that not many people seem to use this combination.
  | 
  | below is the full stacktrace, please give us some feedback on when this 
issue 
  | will be fixed, thanks.
  | 
  | 
  |  [java] 'org.apache.axis.utils.tcpmon'
  |  [java]
  |  [java] The ' characters around the executable and arguments are
  |  [java] not part of the command.
  |  [java] Exception in thread "AWT-EventQueue-0" 
java.lang.NullPointerExceptio
  | n
  |  [java] at 
org.apache.axis.utils.tcpmon$8.valueChanged(tcpmon.java:1590)
  | 
  |  [java] at 
javax.swing.DefaultListSelectionModel.fireValueChanged(Defaul
  | tListSelectionModel.java:187)
  |  [java] at 
javax.swing.DefaultListSelectionModel.fireValueChanged(Defaul
  | tListSelectionModel.java:167)
  |  [java] at 
javax.swing.DefaultListSelectionModel.fireValueChanged(Defaul
  | tListSelectionModel.java:214)
  |  [java] at 
javax.swing.DefaultListSelectionModel.changeSelection(Default
  | ListSelectionModel.java:408)
  |  [java] at 
javax.swing.DefaultListSelectionModel.changeSelection(Default
  | ListSelectionModel.java:417)
  |  [java] at 
javax.swing.DefaultListSelectionModel.removeSelectionInterval
  | Impl(DefaultListSelectionModel.java:510)
  |  [java] at 
javax.swing.DefaultListSelectionModel.removeSelectionInterval
  | (DefaultListSelectionModel.java:482)
  |  [java] at javax.swing.JTable.checkLeadAnchor(JTable.java:2965)
  |  [java] at javax.swing.JTable.tableRowsInserted(JTable.java:3081)
  |  [java] at javax.swing.JTable.tableChanged(JTable.java:3015)
  |  [java] at 
javax.swing.table.AbstractTableModel.fireTableChanged(Abstrac
  | tTableModel.java:280)
  |  [java] at 
javax.swing.table.AbstractTableModel.fireTableRowsInserted(Ab
  | stractTableModel.java:215)
  |  [java] at 
javax.swing.table.DefaultTableModel.insertRow(DefaultTableMod
  | el.java:349)
  |  [java] at 
javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.
  | java:323)
  |  [java] at 
javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.
  | java:334)
  |  [java] at org.apache.axis.utils.tcpmon$Listener.(tcpmon.java:1643
  | )
  |  [java] at 
org.apache.axis.utils.tcpmon$5.actionPerformed(tcpmon.java:42
  | 8)
  |  [java] at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton
  | .java:1849)
  |  [java] at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractBu
  | tton.java:2169)
  |  [java] at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut
  | tonModel.java:420)
  |  [java] at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.
  | java:258)
  |  [java] at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Basi
  | cButtonListener.java:234)
  |  [java] at java.awt.Component.processMouseEvent(Component.java:5488)
  |  [java] at 
javax.swing.JComponent.processMouseEvent(JComponent.java:3093
  | )
  |  [java] at java.awt.Component.processEvent(Component.java:5253)
  |  [java] at java.awt.Container.processEvent(Container.java:1966)
  |  [java] at java.awt.Component.dispatchEventImpl(Component.java:3955)
  |  [java] at java.awt.Container.dispatchEventImpl(Container.java:2024)
  |  [java] at java.awt.Component.dispatchEvent(Component.java:3803)
  |  [java] at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.j
  | ava:4212)
  |  [java] at 
java.awt.LightweightDispatcher.processMouseEvent(Container.ja
  | va:3892)
  |  [java] at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3
  | 822)
  |  [java] at java.awt.Container.dispatchEventImpl(Container.java:2010)
  |  [java] at 

[JBoss-user] [Security & JAAS/JBoss] - Security Threat

2005-03-23 Thread panuv
ON JBOSS 4.0.1  if I enter the URL:
  http://myhost/web-inf/web.xml

it works pretty much like it should, reporting a 404.
However, if I add a period inside the URL as follows:

  http://myhost/web-inf./web.xml

 the browser now shows me the contents  of the file  'web.xml' !

This to me seems to a pretty Serious Security Threat. It works this way for my 
other webapps too, showing their configuration file to anyone who knows about 
this trick. For instance:

   http://myhost/myWebAppweb-inf./web.xml

What's the best way to hide the contents of these web.xml files?
Are there other known  exploits with '.' in jboss/tomcat URLs, to display files 
whose content should be hidden from end-users?

Thanks
-panuv



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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - add virtual directoy to a context

2005-03-23 Thread edrotleff
Hi there!

I want to access files that where uploaded to a path outside the "war"
directory! 
but a virtual directory declared within the server.xml isn't sufficient, 
because it creates a new context/application!
but this virtual directory has to be in the same context/application, because 
of declarative security 4 example!
example:

my application url
->http://myhost:8080/myAppContext
 
virtual upload/download directory "downloads" 
->http://myhost:8080/myAppContext/downloads
that has to point to "c:/downloads"

under Linux i would just make a Symlink to "c:/downloads"
but in windows ? 

please help me!


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Stateful session bean failed to passivate and save state

2005-03-23 Thread darranl
What is the String that you are passing into the call to lookup?

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Attempt to get lock ref with a null object

2005-03-23 Thread saranggore
We are trying to deploy EJB 1.1 beans in EJB 2.0. and get this exception. can 
anyone suggest a solution?

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss 4.0.0 STATUS_NO_TRANSACTION on commit

2005-03-23 Thread dhpJboss
Did you finally solved the problem? please tell me how.

Thank you.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Corrupted Field After EntityBean-Update

2005-03-23 Thread reimannt001
no, we haven't solved the problem yet

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - customized finder method and optimization of dabase access

2005-03-23 Thread tolow
Hi,

   Is it possible to use  together with  section
to define custom finder method in jbosscmp-jdbc.xml?
I'd like to customize select query according to my needs and optimize
database access using left-join option at the same time.
  I'm using JBoss 4.0.1 and it seems that read-ahead section is ignored.
  Thanks in advance.

   Best Regards

Tomasz Olow


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Can not invoke a native method

2005-03-23 Thread ramses
Hi,

I have found any topics for this problem, but all of them have no solution for 
it. Therefore a new topic.
JBoss 4.0.1 and Java 1.4.2_02

I have put a native library (xxx.dll) in the rar file (as the connector 
specification defines). During startup the RARDeployer (SubDeployerSupport) 
loads the library.
But when the adaptor (which is loaded by an UnifiedClassLoader3) invokes the 
native method (e.g: Jni_ft_showdir), an UnsatisfiedLinkError is thrown.

java.lang.UnsatisfiedLinkError: Jni_ft_showdir   .where Jni_ft_showdir is 
the name of the native method

Maybe a ClassLoader Problem. But what is the solution?


When I move the native library in a directory of the PATH and the adaptor calls 
System.loadLibrary then it works.

BUT when I redeploy the adapter, the System.loadLibrary("xxx") throws an
UnsatisfiedLinkError (Native Library xxx.dll already loaded in another 
classloader).
 When I ignore the error, and invoke the method, an
UnsatisfiedLinkError: Jni_ft_showdir
is thrown.

Have anybody an idea?
Thank you for your assistance
Ramses




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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - AvailableConnectionCount - Leak

2005-03-23 Thread jtsimikas
I am running ver 3.2.5 of JBOSS.

I am noticing that the AvailableConnectionCount keeps dropping.
Seems like I lose about 10 connections per day.

I have the max connection set for 150.

Eventually, the number drops to 0.

At this point, I get a message "No ManagedConnections available within timeout"

I have to restart JBOSS to fix the problem, at this point
the AvailableConnectionCount is approx. 146.

I do not get an warning message indicating connections were left open
and that JBOSS will close them automatically.

I have gone thru the code on multiple occasions and made sure all connections 
are closed.  Using try .. finally blocks where needed.

Will setting debug to false in transaction-service.xml fix this problem?

Do I need a newer version of JBOSS?  Has this been addressed in
a newer version of JBOSS?











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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP is treating an invocation of core tag as static text

2005-03-23 Thread robr
I had read somewhere that you did not have to include the tld files in the .war 
file to use JSTL. I experimented some more and found this to be the case.  The 
only thing I had to do was make sure the standard.jar and jstl.jar files were 
put into the WEB-INF\lib folder.  It is simpler than I thought.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Corrupted Field After EntityBean-Update

2005-03-23 Thread anargizyan
Hello,

I have exactly the same problem with JBoss 3 and Oracle8i. The first 3 
characters of updated
value got corrupted.

Have you found the reason?

Thanks

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: NEWBIE: Deploying a SAR

2005-03-23 Thread jpsabadini
Follow this:

http://www.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService

JP

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP is treating an invocation of core tag as static text

2005-03-23 Thread robr
I had read somewhere that you did not have to include the tld files in the .war 
file to use JSTL. I experimented some more and found this to be the case.  The 
only thing I had to do was make sure the standard.jar and jstl.jar files were 
put into the WEB-INF\lib folder.  It is simpler than I thought.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Cannot get JSTL tags to print variable values.

2005-03-23 Thread robr
I had read somewhere that you did not have to include the tld files in the .war 
file to use JSTL. I experimented some more and found this to be the case.  The 
only thing I had to do was make sure the standard.jar and jstl.jar files were 
put into the WEB-INF\lib folder.  It is simpler than I thought.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Stateful session bean failed to passivate and save state

2005-03-23 Thread oabidian
I found what was it: even though i am using a different InitialContext (created 
to point to the remote box), the Session bean B 's JNDI name existing localy in 
the ENV it takes over, and any lookups (even using different InitialContext's)  
is done using this exisiting jndi name. I wonder if this is a bug in the 
NamingService implementation? Differrent NamingContext associated with 
different NamingServers should not override eachother.
Thoughts?
Art.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Nullointer exception when accessing Web Service

2005-03-23 Thread aubade_78
Hi All, 
I am using jboss 3.2.6 and I have deployed a WS through a .wsr file 
which contains the web-service.xml in the meta-inf directory. I also have the 
class which i want to expose as the WS in the appropriate package in the same 
jar. I checked the service through the axis servlet and i could get the wsdl 
file. I also generated stub code using the same. 

Now when i try to access the webservice using a client i got a NULL POINTER 
exception. I did search on the forum and it seems there was a bug. So I also 
replaced the patched jboss-net.jar and tried again but got the following error 

10:28:31,756 ERROR [Engine] StandardWrapperValve[JBossAxisServlet]: Servlet.serv
ice() for servlet JBossAxisServlet threw exception
java.lang.NullPointerException
at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:209
)
at org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:1188)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:257)
at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:655)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:432)
at org.apache.axis.Message.getContentType(Message.java:498)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:10
27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:372)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:158)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:540)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:92

[JBoss-user] [EJB/JBoss] - Re: Cannot get JSTL tags to print variable values.

2005-03-23 Thread robr
I solved the problem or I should say a really great customer support rep at Jet 
Brains and another support person at http://www.fuhrer.com/en/jbossplugin/.

The problem was that when I had set up my web module I had configured it to use 
version 2.3.  Version 2.3 does not support JSTL tags.  If you try to use them 
the data will be passed right through like it is a string.

Basically I removed the web module and then readded it using version 2.4.

My web.xml file now looks like the following.


  | 
  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; >
  | 
  | HelloServlet
  | 
com.dynix.webquotes.examples.HelloServlet
  | 
  | 
  | HelloServlet
  | /greeting
  | 
  | 
  | ejb/hello
  | Session
  | com.dynix.webquote.HelloHome
  | com.dynix.webquote.Hello
  | 
  | 
  | 

My JSTLExample.jsp files looks like this.


  | <%--
  |   Created by IntelliJ IDEA.
  |   User: rb
  |   Date: Mar 23, 2005
  |   Time: 10:37:55 AM
  |   To change this template use File | Settings | File Templates.
  | --%>
  | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  | <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
  | <%!
  |   String[] names = {"Ruth", "Matilda", "Millicent", "Micah"};
  | %>
  | 
  | 
  |   JSTL example
  |   
  |   
  | 
  |   
  |   
  | 
  | 

In the web Modules setting in the Libraries(Classpath) window I have added the 
following Jar/Directorys.  I moved the jar and tld files from JAKARTA 1.1.2 
unzipped folder before adding these jar/directory.

D:\projects\webquotes\jstl\lib\jstl.jar
D:\projects\webquotes\jstl\lib\jstl.jar
D:\projects\webquotes\jstl\tld

My project was created in the webquotes folder.

In the Web Module Settings tab of the web Modules window I made the following 
change under the Modules and Libraries to Package section.

NamePacking MethodRelative 
jstl.jar  Copy files to/WEB-INF/lib/jstl.jar
  
standard.jar  Copy files to/WEB-INF/lib/standard.jar
d:\projects\webquotes\jstl\tld Copy dir to   /META-INF/tld

After making these changes the JSTL worked.

I used the following.
Intellij 4.5.4
Jboss 4.01sp1
Latest JBOSS plugin
Java jdk 1.4.2_07

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP is treating an invocation of core tag as static text

2005-03-23 Thread robr
I solved the problem or I should say a really great customer support rep at Jet 
Brains and another support person at http://www.fuhrer.com/en/jbossplugin/.

The problem was that when I had set up my web module I had configured it to use 
version 2.3.  Version 2.3 does not support JSTL tags.  If you try to use them 
the data will be passed right through like it is a string.

Basically I removed the web module and then readded it using version 2.4.

My web.xml file now looks like the following.


  | 
  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; >
  | 
  | HelloServlet
  | 
com.dynix.webquotes.examples.HelloServlet
  | 
  | 
  | HelloServlet
  | /greeting
  | 
  | 
  | ejb/hello
  | Session
  | com.dynix.webquote.HelloHome
  | com.dynix.webquote.Hello
  | 
  | 
  | 

My JSTLExample.jsp files looks like this.


  | <%--
  |   Created by IntelliJ IDEA.
  |   User: rb
  |   Date: Mar 23, 2005
  |   Time: 10:37:55 AM
  |   To change this template use File | Settings | File Templates.
  | --%>
  | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  | <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
  | <%!
  |   String[] names = {"Ruth", "Matilda", "Millicent", "Micah"};
  | %>
  | 
  | 
  |   JSTL example
  |   
  |   
  | 
  |   
  |   
  | 
  | 

In the web Modules setting in the Libraries(Classpath) window I have added the 
following Jar/Directorys.  I moved the jar and tld files from JAKARTA 1.1.2 
unzipped folder before adding these jar/directory.

D:\projects\webquotes\jstl\lib\jstl.jar
D:\projects\webquotes\jstl\lib\jstl.jar
D:\projects\webquotes\jstl\tld

My project was created in the webquotes folder.

In the Web Module Settings tab of the web Modules window I made the following 
change under the Modules and Libraries to Package section.

NamePacking MethodRelative 
jstl.jar  Copy files to/WEB-INF/lib/jstl.jar
  
standard.jar  Copy files to/WEB-INF/lib/standard.jar
d:\projects\webquotes\jstl\tld Copy dir to   /META-INF/tld

After making these changes the JSTL worked.

I used the following.
Intellij 4.5.4
Jboss 4.01sp1
Latest JBOSS plugin
Java jdk 1.4.2_07

Thanks for the replies.






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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment dependencies

2005-03-23 Thread jpsabadini
Can I set dependencies between different deploy files? How?

Regards,
JP

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JCA1.0 with JBOSS4.X

2005-03-23 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : 
  | 3.) Made a note that the DTD for jboss-ds_1_0.dtd lists neither rar-name 
nor connection-definition in it, which is completely confusing!!! and how to 
work around this short-coming.
  | 

They would have been better named
jboss-ds_3_2.dtd and jboss-ds_4_0.dtd
The reference to the spec level is an indirect mapping
and a function of what each version supports
not the one you should use based on your targetted api.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Stateful session bean failed to passivate and save state

2005-03-23 Thread oabidian
I am having a strange problem. Let me describe it shortly.
I am having a simple java class, lets call it MyUtil. This class does a 
jndi = new InitialContext( props ) in the constructor and uses this "jndi" 
object to look up a remote home of a session bean, and then create a reference 
to the remote interface (using the retrieved home with the jndi). The "props" 
for the jndi = new InitialContext( props ) is set up in that way that it is 
pointing to a remote box situated somewhere else in the local lan. This MyUtil 
class has a method that just simply calls a method on the remote referenc 
obtained in the constructor. Now, this class (MyUtil) is used by a local 
session bean. The odd thing that happens is that when the local session bean 
uses the instance of the MyUtil, even though it looks like the MyUtil it did 
obtained a remote reference to the session bean on the remote box, the result 
of the call it actually is happening on the local box (eventualy the remote 
session bean - well the one it should be called on the remote box- generates 
some entity beans). When the MyUtil is uses in the exact same way but by a 
client app and not a local sessio bean, the remote session bean (on the remote 
box) is actually called as expected: on the remote box and not on the local box 
(as it happens when accessed from the local session bean). I have to mention 
that the session bean that the MyUtil is trying to access on the remote box, it 
does exists (deployed) on the local box too, but the jndi context is definately 
created for the remote box.
I susspect this has to do with the NamingService and how it does the 
NamingService association, but i am not sure why, how and what happens. Could 
anyone please help?

[/img]

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - JBoss 4.0.1 STATUS_NO_TRANSACTION on commit

2005-03-23 Thread dhpJboss
Hi, I am trying to perform a set method inside a CMP EJB, and I get this error:

org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=as-dg/43, BranchQual=, 
localId=43] status=STATUS_NO_TRANS
ACTION; - nested throwable: (javax.ejb.EJBException: Update failed. Expected 
one affected row: rowsAffected=0, id=0)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:454)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:322)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:856)
at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at 
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy285.creaEvento(Unknown Source)
at 
alteda.eventos.servlets.NewEventInit.creaEvento(NewEventInit.java:429)
at alteda.eventos.servlets.NewEventInit.doPost(NewEventInit.java:121)
at alteda.eventos.servlets.NewEventInit.service(NewEventInit.java:71)


Please any help will be apreciated.

Thank you very much.

David.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Tracing SQL statements

2005-03-23 Thread warx_sg
Hello,

How can i trace the query generated by the container when it uses my CMP entity 
bean.
Jan wrote to uncomment tracing in log4j.xml for cmp plugins but i didn't find 
the right row to uncomment.
I use default server so i think that i have to edit the log4j.xml inside the 
directory server/default/conf.
Could you spot me the right row to uncomment or send me a right log4j 
configuration file ?
Cheers.

  Stefano

   


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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - JAAC Implementation

2005-03-23 Thread mglicks
I am currently attempting to add the JAAC Implementation in Jboss 4.0.1 SP1 and 
I am having no luck.  I followed the directions on the 
http://www.jboss.org/wiki/Wiki.jsp?page=JACC page and first of all I cannot get 
the MBean deployed.  I am getting a Incomplete Deployment listing error.

Second I am trying to only use programmatic security checks versus declarative. 
 This does not see to work.  I get the following error (I also got the same 
error when I tried Declarative):

java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
java.rmi.AccessException: SecurityException; nested exception is: 
java.lang.SecurityException: Denied: 
(javax.security.jacc.EJBMethodPermission AppInfo create,Home,)[Home:create()], 
caller=Subject:
Principal: testUser
Principal: Roles(members:testrole)


Has anybody successfully implemented JAAC and also can anybody give me a better 
understanding of what JAAC is.  I read through all of the specs, googled, 
etc... and I do not get much information on this.

thx

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - War dependency on a resource (rar)

2005-03-23 Thread jguinney
I have a web application (deployed as a war) that has a dependency on a 
datasource (deployed as a rar).  The problem is that my web application deploys 
before the resource is deployed; there appears to be no way to declare this 
dependency and flip the order of deployment.  Both the war and the rar are 
deployed in a sar.  Any help?

Thanks.

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: DeploymentException UnknownHostException www.jboss.org

2005-03-23 Thread mzarra
It is very simple to test.

1.  Unplug your network cable
2.  Start up JBoss (with an application to deploy)

Here is the error:

2005-03-23 09:37:31,813 WARN  [org.jboss.system.ServiceController.start:425]
Problem starting service jboss.j2ee:jndiName=ifs/remote/Permission,service=EJB
MBeanException: org.jboss.deployment.DeploymentException: www.jboss.org; - 
nested throwable: (java.net.UnknownHostException: www.jboss.org)
Cause: org.jboss.deployment.DeploymentException: www.jboss.org; - nested 
throwable: (java.net.UnknownHostException: www.jboss.org)
at 
org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy41.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy15.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:5

[JBoss-user] [Beginners Corner] - how to debug why an ejb is not getting deployed in jboss 4.0

2005-03-23 Thread copperman
06:42:57,646 INFO  [EARDeployer] Undeploying J2EE application, destroy step: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear
06:42:57,901 INFO  [EARDeployer] Init J2EE application: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear
06:43:01,912 INFO  [EARDeployer] Started J2EE application: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear

but i do not see any EJBs deployed or the JNDI view does not show the EJBs. My 
sample application is getting deployed.

here is the copy of JNDI view

jboss.j2ee

* extension=LoaderRepository,service=EARDeployment,url='accountlocate.ear'
* jndiName=CabinHomeRemote,plugin=cache,service=EJB
* jndiName=CabinHomeRemote,plugin=pool,service=EJB
* jndiName=CabinHomeRemote,service=EJB
* jndiName=TravelAgentHomeRemote,plugin=pool,service=EJB
* jndiName=TravelAgentHomeRemote,service=EJB
* module=titan.jar,service=EjbModule
* service=ClientDeployer
* service=EARDeployer
* service=EARDeployment,url='accountlocate.ear'

Thanks

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check

2005-03-23 Thread FelderR
Hello,

you can implement your own Authenticator. For Tomcat look at the 
implementation: 

org.apache.catalina.authenticator.FormAuthenticator

Redirection to CONTEXT_ROOT/j_security_check should work. I used the following 
within Struts:

response.sendRedirect(contextPath + "/j_security_check?j_username=" + 
loginForm.getUsername() + "&j_password=" +loginForm.getPassword());

Rene

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: not getting JMX MBean Operation Result for Topic

2005-03-23 Thread [EMAIL PROTECTED]
Try to post (in text) what you see in jmx console that you think is wrong.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: HELP:: NoClassDefFoundError

2005-03-23 Thread nohwal
Thanks for the response!! 

But how do I set it in classpath...I thought JBoss automatically creates 
classpath from the jar files available in the deployed sar file. Do you mean I 
should put it in classpath while starting jboss?

Would appreciate a quick response.

Many thanks,
+Deepak.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Locking Traces

2005-03-23 Thread ereze
Could someone show me how to turn on log traces of the EJB locking mechanism. I 
wish to see those printed in the log but I can't find anything that causes them 
to come up.

Thanks,

Erez

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Remove datasource passwords from server.log??

2005-03-23 Thread djs1w
My developers are wanting to see the server.log of my production jboss server, 
but included in the log files are the oracle username and passwords configured 
for the datasource.

Right now I just have the log file directory restricted via file permissions so 
they can't view it, but they are now requesting access to it for 
troubleshooting problems.

After a quick search of the forums I didn't come across anything. So it is 
possible to filter out the datasource passwords via a jboss configuration file? 

I'm using jboss-3.2.1_tomcat-4.1.24

Thanks in advance for your help.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Specification equivalent of DLQ

2005-03-23 Thread nlmarco
Hello *!

How can I replace the DLQ by another queue for one MDB? I tried to add the 
following into the jboss.xml of my deployed module, but it had NO effect:

  | 
  | 
  | Standard Message Driven Bean
  | 
  | 
  | 30
  | 
  | 
queue/my/FailQueue
  | 
3
  | 0
  | 
  | 
  | 
  | 
  | 
What am I doing wrong?

I either need to define this on a per-queue-basis or on a per-MDB-basis. To set 
the redeliveryDelay and redeliveryLimit on a per-queue-basis (in the 
xxx-service.xml) works fine, but how can I overwrite the "queue/DLQ" coming 
from standardjboss.xml?

Best regards, Marco :-)

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - NEWBIE: Deploying a SAR

2005-03-23 Thread charles_so
Dear, I am new to JBoss. I found through the WIKI, Forums and found nothing on 
how to create a SAR.

I am trying to deploy an application to run inside JBoss, and from the docs 
(from the application) it says I need to write a JBoss service of which has:

1) a class that extends the ServiceMBeanSupport
2) another class that extends the ServiceMBean


The doc also says the SAR should contain the .jar and .xml files. Once deployed 
inside JBoss, JBoss will know how to scan the .SAR file and load the 
application.

Is there any instruction or documentation on how to do this? 


Thanks!

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Entity Bean, with DB2 can't create

2005-03-23 Thread radl01
Did you trace SQL statements ?

uncomment tracing in log4j.xml for cmp plugins

Jan

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Problem when Using Dukes Bank

2005-03-23 Thread paikceh
when i access the Dukes Bank, occurred this error:
Anybody have any idea about this??

tks,
Aldo.

14:36:00,092 INFO  [STDOUT] Debug: AccountControllerBean getAccountsOfCustomer
14:36:00,093 ERROR [LogInterceptor] TransactionRolledbackLocalException in 
method: public abstract com.sun.ebank.ejb.customer.LocalCustomer 
com.sun.ebank.ejb.customer.LocalCustomerHome.findByPrimaryKey(java.lang.String) 
throws javax.ejb.FinderException, causedBy:
java.lang.IllegalStateException: createBeanClassInstanceCommand == null
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:124)
at 
org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:224)
at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:96)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
at org.jboss.ejb.Container.invoke(Container.java:891)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy77.findByPrimaryKey(Unknown Source)
at 
com.sun.ebank.ejb.account.AccountControllerBean.getAccountsOfCustomer(AccountControllerBean.java:212)
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.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:584)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:294)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:870)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
at 

[JBoss-user] [Beginners Corner] - Re: DeploymentException UnknownHostException www.jboss.org

2005-03-23 Thread darranl
anonymous wrote : This is quite disturbing that no one is responding to this 
call back

JBoss is probably trying to find a schema or dtd for some reason, you have not 
given enough information for someone to be able to really give you a 
constructive response.

anonymous wrote : jboss would fail to start up

What do you mean by this, is an error being displayed?  If so can you post it 
here.

Also what JBoss version?

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: not getting JMX MBean Operation Result for Topic

2005-03-23 Thread k_s_ashok
It is the  jmx console output of JMX MBean Operation Result:

Topic console output
**
JMX MBean Operation Result
Operation listMessageCounterHistory()
Back to Agent View ? Back to MBean View ? Reinvoke MBean Operation 



***

Queue console output
**
JMX MBean Operation Result
Operation listMessageCounterHistory()
Back to Agent View ? Back to MBean View ? Reinvoke MBean Operation 




Queue 'testQueue'Date 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 Total 3/23/05  3   3 



Topic does not diplay HourMesageCounter box(0-23)

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB performance

2005-03-23 Thread acaraiman
you had right, adrian.

'IT' was a stupid logging issue, that tricked me showing that waiting time was 
in remote jboss. on another logging level i discovered that this time (about 2 
sec) was spent commiting data in the destination db.  Quite stupid, but that 
is, when the project grows, the details aren't obvious anymore..

the other issue (Singleton) is still open, there are db deadlock problems when 
parallel MDBs are running.

thanx anyway !

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - How to config read-only JNDI server?

2005-03-23 Thread toddh
I just worked through an issue where my development JBoss server started 
directing EJB calls to my local JBoss server.

It turns out I accidentally copied jndi.properties from our client app into a 
JAR on my local JBoss server.  The new jndi.properties pointed at the 
development JBoss server and apparently caused my local EJBs to register with 
JNDI on the development server.

Is there any way to make the JNDI server read-only to external clients?  Or at 
least ignore jndi.properties found outside the conf directory?

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Unable to access the webservice using vb.net but able to

2005-03-23 Thread mitulraul
Sorry for breaking the thread.
Since i am new user in development of JBOSSWS weebservice i am not sure where 
do we specify the rpc/literal. I mean where do we mention the rpc n document 
style?

I have used following files for creating webservice


ant task :

  
  |   
  |
  |
  |
  |   

Contact_Config.xml:

 http://java.sun.com/xml/ns/jax-rpc/ri/config";>
  |   
  |   
  |   
  | 
  |   
  | 
  |
  |  
   
  |  
  | 
  |   
  |  
  | 
  |


webservice.xml:
  |   
  |  
ContactWebServices
  |  WEB-INF/wsdl/ContactWebServices.wsdl
  |  
WEB-INF/Contact_Mapping.xml
  |  
  | ContactWebServices
  | ContactWrapperIntfPort
  | 
com.ca.ac.webservice.wrapper.ContactWrapper
  | 
  |ContactWrapperServlet
  | 
  |  
  |




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

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


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


[JBoss-user] [JBossWS] - Re: Unable to access the webservice using vb.net but able to

2005-03-23 Thread mitulraul
When i am using features ="wsi" I don't get any error but When I added 
features="wsi,documentliteral"  I am getting following error 

java.lang.Exception: The OperationDesc for insert was not synchronized to a 
method of com.ca.ac.webservice.wrapper.Conta 
ctWrapper. 
at org.apache.axis.InternalException.(InternalException.java:108) 
at 
org.apache.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:851)
 
at 
org.apache.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1198)
 
at 
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1044)
 
at 
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:965)
 
at 
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:906)
 
at org.apache.axis.description.ServiceDesc.getOperations(ServiceDesc.java:451) 
at 
org.jboss.webservice.server.ServiceEndpointServlet.reportAvailableServices(ServiceEndpointServlet.java:211)
 
at 
org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:84)
 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:372)
 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
at org.apache.catalina.core.StandardValveContext.invokeNext

What could be reason? 

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: DII webservice client works using jdk1.4.2_07 but not wi

2005-03-23 Thread sirwio
"[EMAIL PROTECTED]" wrote : Your client needs to see a namespace aware parser, 
which saxon that comes with jdk-1.4 is not.

Isn't this sort of contradictory to what I see in the version/clientlib matrix 
in my previous post?
With jdk-1.4 I can run the example fine from a dii client using only jars from 
jboss-4.0.1/client/
With jdk-1.5 I need to include the endorsed xercesImpl.jar for the dii client 
to work as expected.




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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Jboss cannot deploy application in dubug mode startup

2005-03-23 Thread arbor
JVM 1.4.2
Jboss 4.01

 Do I need to check the paths to the libraries specific to this application. It 
works perfect as a Jboss service but when I try using Jboss IDE and Eclipse 3.1 
in debug mode it thws up the following in the logs.

ERROR [Engine] StandardContext[/projname]Exception starting filter AuthFilter
java.lang.ClassNotFoundException: eg.myd.projname.ui.AuthoriziedUserInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4349)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:85)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
at org.jboss.web.WebModule.startModule(WebModule.java:62)
at org.jboss.web.WebModule.startService(WebModule.java:40)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy16.start(Unknown Source)
   

[JBoss-user] java.lang.StackOverflowError - with Stateful session bean with Session Synchronized

2005-03-23 Thread jagadish gowda
Hi,
  I am getting Server error -Stack Error Flow, when I
deployed and called Stateful session bean with Session
Synchronization. 
the total memory is  - 532873216
the free memroy is   -  342122902

Does any body knows the solution for this. Do i need
to any configuration changes.

Regards,
Jagadish




STDOUT - java.rmi.ServerError: Unexpected Error:;
nested exception is: 
java.lang.StackOverflowError
2005-03-22 17:02:34,953 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:398)
2005-03-22 17:02:34,953 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
2005-03-22 17:02:34,953 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2005-03-22 17:02:34,953 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:449)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.ejb.Container.invoke(Container.java:709)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
sun.reflect.GeneratedMethodAccessor107.invoke(Unknown
Source)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
java.lang.reflect.Method.invoke(Unknown Source)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
2005-03-22 17:02:34,968 INFO 
[http-0.0.0.0--Processor24] STDOUT -at
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:105)


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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


[JBoss-user] [JBossWS] - Re: 0 or null return values when .Net client accesses JBoss

2005-03-23 Thread md5georg
This problem has now been resolved after much elaboration.
On the client side we had Visual Studio 2002 which uses .Net 1.0. When we
  uppgrade it to Visual Studio 2003 which uses .Net 1.1 things started
 to work.

Thanks jasong for all your help!


Best regards,

Georg

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

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


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


[JBoss-user] [HTTPD, Servlets & JSP] - Deploying Compiled JSP's

2005-03-23 Thread tawbrey
I have gone through the process of compiling all my jsp's and creating an ear 
deployment. When I deploy the ear file in the deploy directory of the server 
though it doesn't find my compiled jsp's in the WEB-INF/classes/ directory of 
the war file. My web.xml has the references to them in it from the JSP 
compilation process. Is there some settings in JBoss to get it to work with 
compiled jsp's? If I put the regular uncompiled jsp's back in it works fine? I 
have tried everything I can think of any help would be greatly appreciated. 

thanks,

Tony

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - jboss-hibernate: who ate my exception?

2005-03-23 Thread iliberman
I am using jboss  4.0.1 with hibernate 2 to connect to Oracle9 with thing jdbc 
driver (ojdbc14.jar).  My Hibernate code resides in a session bean and I access 
Hibernate sessions via jboss HibernateContext.getSession

I am seeing a weird thing where some jdbc exceptions do *not* get propagated to 
 the caller (me) via HibernateException or any other exception for that matter.

Now, that's is not true for all exceptions. If I have a typo in the HQL query 
referencing non-existing entity, I get HibernateException that tells me all 
about it. So, that's cool.

Troublesome bit is with another piece of code that violates a primary key 
constraint (as a test case).  In that case i get no exception thrown, but 
information about the error appears happily in the log (as below). Needless to 
say the actual thing i tried accomplish (an insert in this case) fails, but my 
code thinks everything went fine.

==
2005-03-22 14:53:59,497 DEBUG [net.sf.hibernate.impl.BatcherImpl] Executing 
batch size: 1
2005-03-22 14:53:59,509 DEBUG [net.sf.hibernate.util.JDBCExceptionReporter] SQL 
Exception
java.sql.BatchUpdateException: ORA-1: unique constraint (PK) violated

at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBError.java:\
458)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePrepar\
edStatement.java:3907)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(Wrappe\
dStatement.java:701)
at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher\
.java:54)
at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:126)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2421)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2371)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2240)
at 
org.jboss.hibernate.session.TransactionSynch.beforeCompletion(TransactionSynch.java:55)
[...]
==

What am I missing here ?

- ilya.


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-23 Thread didi
thanks a lot md5georg, I got my webservice working ... well at least the 
namespace error message is not coming up anymore. But: I tried 
http://www.soapclient.com/soapTest.html to interact with my webservice and 
another error is coming up. Even though I followed the jboss tutorial and the 
JAXRPC- as well as the DII client are working I am not sure if it works with 
other programming languages. Does someone know an online-soap client (like the 
one mentioned above) or does someone know a soap client which I can just 
download, install and use? It should not be a java client and preferebly should 
be for Windows. Thanks in advance!

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Transaction timeout behavior

2005-03-23 Thread andreas_knecht
I should probably also mention that implementing a timeout to this backend 
systems is not possible (at least I don't know how), as it is a RMI call to a 
weblogic server...

As far as I know, no client timeouts can be set for RMI calls, and the version 
of weblogic that the server runs doesn't support client timeouts either...

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - 2nd instance as windows service

2005-03-23 Thread nfuentes
How do you start a specific instance of JBoss server as a windows service. I 
have two instances right now and the first instance (default ports and 
'default' server) is running as a windows service. Now I have successfully 
created and able to run (run -c instance2) at command line. I want to setup 
instance2 to run/stop as a windows service. So, that i'll have to two JBoss 
windows services. Is this even possible.

thanks in advance for the help/suggestions.

nxf

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Debugging the JBoss JMS Subsystem

2005-03-23 Thread mpserafim
Hello,

We're having a problem with some components accessing the JBoss JMS Subsystem 
and the question is: Can I access this thing for debugging (through Eclipse, 
jdb or another way)???

Thanks in advance.

Mps

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

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


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


[JBoss-user] [Clustering/JBoss] - Shutting down node fails

2005-03-23 Thread torbengee
Hello everyone,

strange things are happening when I'm trying to shut down a JBoss node with:

  | shutdown.sh -S
  | 

The result I get is this:


  | Exception in thread "main" javax.naming.CommunicationException: Could not 
obtain connection to any of these urls: localhost:1099 [Root exception is 
javax.naming.CommunicationException: Failed to connect to server localhost:1099 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server localhost:1099 [Root exception is java.net.ConnectException: 
Connection refused]]]
  | at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1242)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:527)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.jboss.Shutdown.main(Shutdown.java:182)
  | Caused by: javax.naming.CommunicationException: Failed to connect to server 
localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: 
Failed to connect to server localhost:1099 [Root exception is 
java.net.ConnectException: Connection refused]]
  | at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:215)
  | at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1227)
  | ... 4 more
  | Caused by: javax.naming.ServiceUnavailableException: Failed to connect to 
server localhost:1099 [Root exception is java.net.ConnectException: Connection 
refused]
  | at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:189)
  | ... 5 more
  | Caused by: java.net.ConnectException: Connection refused
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  | at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
  | at java.net.Socket.connect(Socket.java:507)
  | at java.net.Socket.connect(Socket.java:457)
  | at java.net.Socket.(Socket.java:365)
  | at java.net.Socket.(Socket.java:265)
  | at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
  | at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
  | at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:185)
  | ... 5 more
  | 

These are the ports opened by JBoss, and as you will notice, port 1099 is among 
them:


  | tcp0  0 10.207.1.28:11000.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:40590.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:78000.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:80800.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:44450.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:0.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:80830.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:10990.0.0.0:*   LISTEN  
11323/java
  | tcp0  0 10.207.1.28:10980.0.0.0:*   LISTEN  
11323/java
  | udp0  0 0.0.0.0:11020.0.0.0:*   
11323/java
  | 

However, there seems to be *something* wrong, since I can't even connect via 
telnet:


  | # telnet localhost 1099
  | Trying 127.0.0.1...
  | telnet: Unable to connect to remote host: Connection refused
  | 

My JBoss version is 4.0.1, JDK is 1.5.0_01, running on a Debian 3.0 with Linux 
kernel 2.2.20, no firewall actiaved.

I hope somebody can give me a clue on this issue. Thanks in advance!

Torben Giesselmann


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: install JBOSS on WINDOW XP

2005-03-23 Thread [EMAIL PROTECTED]
Have you got java installed?

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

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


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


[JBoss-user] [JCA/JBoss] - Re: getiing Datasource/Connection in Session/Entity (beforeC

2005-03-23 Thread tbech
In fact I was thinking of EntityBean (instead of EJBObject) and only connection 
in the server layers, never to the client of course. 
There is often a need to have the connection (in server side layers) to do some 
queries (fast line reader design pattern) or huge-updates. And currently I 
don't see any good way of taking the connection - for me getting datasource by 
pointing/hardcoding datasource name is anti-pattern!

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2005-03-23 Thread davewebb
Of course it is an option and the way I am curretnly implementing it.  Im 
asking so you can better your product and have it perform like your competition 
does.  Is it a bug?  Do I need to report it to JGroups or does JGroups monitor 
this forum?

Do you see my point?

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JSR181/JSR224 Support

2005-03-23 Thread [EMAIL PROTECTED]
You can use cygwin with windows to get a decent *NIX shell

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: HELP:: NoClassDefFoundError

2005-03-23 Thread dschneller
Hi Deepak,
did you set that jar-file in your classpath? Try it :-)

dschneller.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2005-03-23 Thread davewebb
I have different IPs, the problem seems to be that the different IPs are all 
bound to the same physical NIC via Linux Virtual IPs.  Any suggestions?  I have 
read all the Wiki's.  I understand how to set it up, but it is not behaving 
properly as described above.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - securing SSL keystore password

2005-03-23 Thread andrzejros
Hi!

Is it possible, as in datasource confing, to secure (encrypt) keystore password?

In ds.xml config is method that I can encrypt password using keystore password 
/ master server paswsword. Would like to do same thin but in tomcat's 
server.xml, is it possible to do this?

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: configuring ssl at jboss application server level

2005-03-23 Thread oagady
Look at thit article:

http://www.theserverside.com/discussions/thread.tss?thread_id=22243

There is a note about this exception:

Important remark: if you get an exception that looks like this: 
java.security.NoSuchAlgorithmException: Algorithm TLS not available, take a 
look at this file: $JAVA_HOME/jre/lib/security/java.security. Check if the 
com.sun.net.ssl.internal.ssl.Provider is in the list of Providers: 
# 
# List of providers and their preference orders (see above): 
# 
security.provider.1=sun.security.provider.Sun 
security.provider.2=com.sun.net.ssl.internal.ssl.Provider 
security.provider.3=com.sun.rsajca.Provider 
security.provider.4=com.sun.crypto.provider.SunJCE 
security.provider.5=sun.security.jgss.SunProvider 


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Proxy and Web Services

2005-03-23 Thread thorinside
Evil forum. The Tomcat config should read:


  |   
  | 

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: war servlet not refreshing

2005-03-23 Thread [EMAIL PROTECTED]
Does ur war file contain jars?

On windows, Jar files get locked.  So basically, when you hotdeploy, the old 
unjarred directory representing your war, in /server/default/tmp does not get 
cleaned up.

Before you hotdeploy, remove the relevant war directory from 
/server/default/tmp.

JBoss expands the war file under the tmp directory of ur config, for deploying 
the web components.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss-Net

2005-03-23 Thread irazum
I`ve tried to do the same thing: I want to compile Duke`s bank application from 
J2EE tutorial for JBoss and I`ve got this message:
BUILD FAILED
C:\Applications\j2eetutorial14\examples\bank\jboss-build.xml:49: 
C:\Applications\jboss-4.0.1\server\all\deploy\jboss-net.sar not found.

I`m using jboss-4.0.1.zip file to install JBoss on my system.

The question is: how can I compile Duke`s bank application if there is no 
jboss-net.sar on my system?

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: destination's(Topic/Queue)'s Factory name through jmx co

2005-03-23 Thread [EMAIL PROTECTED]
There is the jboss.mq:service=DestinationManager that is used to create/destroy 
Topics/Queues.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - properties file location.

2005-03-23 Thread calendarw
Hi~
I am building a web service need to access database, I want to store the 
database information(like url, jdbc driver name, username, password) store in 
properties file, but can't load the properties file.

/ServerWS
  |---META-INF
   |---web-service.xml
  |---Database.properties
  |---Database.class

is the file stucture right for storing properties file?

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

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


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


[JBoss-user] [Beginners Corner] - Bean Persistence

2005-03-23 Thread Mike Shapiro
I am using straight .jsp pages that reference one or more java beans.
i.e.


The problem I an having is that as I modify the bean the jsp is not picking up 
the newest bean and instead gets stuck with an older version of the the bean.  
You
can see in my class definition that I am up to version 14 of assetBean.  Is 
there 
anyway I can kill these older beans 


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Is JBoss working with IBM JDK1.4?

2005-03-23 Thread wanted
hi all,
I would like to ask, is JBoss working in IBM JDK 1.4?
I have developed my application under Sun JDK 1.4.2 and deployed it into AIX 
machine which is using IBM JDK 1.4. 

Initially, I hit a problem when trying to assgin object into session
request.getSession().setAttribute(myKey,myObject); 

The exception returned was : java.lang.IllegalArgumentException: setAttribute: 
Non-serializable attribute. 
I solve this problem by making my object serializable, but this is not required 
with Sun JDK. Will this cause any problem in future?

Please advice...thanks.


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss-hibernate: who ate my exception?

2005-03-23 Thread iliberman
It looks like what I am expreriencing is caused by this:
http://jira.jboss.com/jira/browse/JBAS-1576

I guess i need to be calling Session.flush() myself if i want to see exceptions 
and proper rollbacks.


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Get Realm from context

2005-03-23 Thread FelderR
Hello,

how do I use the logout using the realm-name from the web.xml. 

I wrote a custom LoginModul and registered this in the login-config.xml within 
JBOSS/server/default/conf.

Then I added an entry in the web.xml to configure my webapplication for JAAS 
Security. I also added a jboss-web.xml file with the necessary entry. 

The login as well as the EJB Security works fine!!! The problem arises if I 
want to log the user out. My first solution was to add a method logout() to the 
principal which is accessible in the whole web application. The logout method 
does the following:

public void logout() throws LoginException {
  LoginContext loginContext = 
new LoginContext("XYModul", 
   new UsernameCallbackHandler(getName(), password));
  loginContext.logout();
}

The problem is, that I do not want to hardcode the String for the login module. 
It should be derived from the web.xml of the current web application.

I didn't found out how I could retrieve the realm-name from the web.xml. 

Can anyone help me?

Thanks 
Rene

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-23 Thread md5georg
I found this insightfull blog regarding the "one-parameter" choice. I guess 
this is one side of the camp (as the author writes), but if it gives me lesser 
problem with interoperability it will continue to be my choice in the future...


http://blogs.msdn.com/donsmith/


Best regards,

Georg

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Yed clustering setup

2005-03-23 Thread [EMAIL PROTECTED]
If that were the case, is the 1 ip with 3 different set of ports not an option?

-Ben

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - High CPU Utilization While JBoss Idle

2005-03-23 Thread burakbayramli
Hi, we are observing high CPU utilization rates on JBoss 4.0.1sp1 even while 
the server is IDLE and doing nothing. The rates we see are at %40. 

We do have couple background processes, but they wake up every 30 seconds, and 
finish very quickly. An output from hprof display the performance killer is 
PlainSocketImpl.socketAccept call. Now, we use OSCache but have distributed 
caching disabled. The output is below. 

CPU SAMPLES BEGIN (total = 211354) Fri Jan 21 12:56:38 2005
rank   self  accum   count trace method
   1 74.04% 74.04%  156483   479 java.net.PlainSocketImpl.socketAccept
   2 16.46% 90.50%   34792  1363 java.net.SocketInputStream.socketRead0
   3  7.10% 97.60%   14997  1182 java.lang.System.currentTimeMillis

My question is, if you see high CPU utilization on listener type threads with 
low priority, is it possible that threads with higher priroty can still get 
their CPU share and the overall system can still perform acceptably? Would 
socketAccept() be one of those methods/classes? If not, which JBoss subsystem 
could be using this call?

We use JMS/queuesMDBs, have Hibernate 3.0 with OSCache.

Regards, 



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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - log4j.xml wil not be hotdeployed

2005-03-23 Thread rmk
Hello!
My JBoss server will not hotdeploy my log4j.xml-Configuration-File. I hava 
waited more than 3 minutes but nothing happened and there are no messages in 
the server.log that the server has recognized the new configuration.
Can somebody help me?
caio
  rmk


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - how to debug why an ejb is not getting deployed in jboss 4.0

2005-03-23 Thread copperman
06:42:57,646 INFO  [EARDeployer] Undeploying J2EE application, destroy step: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear
06:42:57,901 INFO  [EARDeployer] Init J2EE application: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear
06:43:01,912 INFO  [EARDeployer] Started J2EE application: 
file:/opt/servers/jboss-4.0.0/server/default/deploy/accountlocate.ear

but i do not see any EJBs deployed or the JNDI view does not show the EJBs. My 
sample application is getting deployed.

here is the copy of JNDI view

jboss.j2ee

* extension=LoaderRepository,service=EARDeployment,url='accountlocate.ear'
* jndiName=CabinHomeRemote,plugin=cache,service=EJB
* jndiName=CabinHomeRemote,plugin=pool,service=EJB
* jndiName=CabinHomeRemote,service=EJB
* jndiName=TravelAgentHomeRemote,plugin=pool,service=EJB
* jndiName=TravelAgentHomeRemote,service=EJB
* module=titan.jar,service=EjbModule
* service=ClientDeployer
* service=EARDeployer
* service=EARDeployment,url='accountlocate.ear'

Thanks

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Help on Scheduler Mbean

2005-03-23 Thread naikrajat
Hi,
   We are using the Scheduler Mbean which comes as a Jboss service. This Mbean 
continously goes on repeatedly invoking the callback routine after 
SchedulePeriod.

Can we make the Scheduler Mbean invoke the callback function once? 

Or could it be disabled after one execution

rgds,
Rajat
 

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Proxy and Web Services

2005-03-23 Thread thorinside
Yes, I believe my configuration is correct, since most other tomcat operations 
do the right thing. For example, Tomcat is correctly returning the network name 
of the server instead of the local name in URLs. The webservice I'm talking 
about is the built-in 'Version' webservice... I haven't begun to write my own 
webservice if I can't get the 'Version' service to work yet. This is a recently 
downloaded, 'stock' out of the box JBoss.

The config is something like this: User hits port 80 with the domain 
'jboss.mydomain.org' and Apache sees this, and rewrites the URL to 
'10.0.0.1:9090' which is where JBoss is actually running. Tomcat is configured 
to know about jboss.mydomain.org and port 80, so it doesn't accidentally return 
it's internal address of 10.0.0.1:9090 all the time. That seems to work. But 
AXIS seems confused about this and says there's no web services for the given 
URL, of course I'll have to dig further and see what URL it was actually 
passed. Maybe it's getting 10.0.0.1:9090/ URLs and not liking them.

Thanks for the response. I'll keep looking into it too.

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Desperate for a hint. JNDI over HTTP

2005-03-23 Thread gberish
Can anyone help me understand why the code below fails?

I tired to get an instance of InitialContext over HTTP per chapter 3.2.1.2 of 
the JBoss 4 Application Server Guide at:
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html.

You will find below:
1.The code which should run on any current out of the box jboss server.
2.The Screen Print from that code.
3. Info on JMXInvokerServlet from the web-console that show it is being 
accessed on each failure.
4. Relevant exerpts from chapter 3.2.1.2.

I obviously am missing something very basic, and would sure appreciate a hint 
of where else to look.
CODE: import java.lang.reflect.Method;
  | import java.util.Hashtable;
  | import javax.jms.*;
  | import javax.naming.*;
  | 
  | public class Test {
  | 
  |   public static void main (String[] args) {
  | Test test = new Test ();
  | test.doMessage ();
  |   }
  | 
  |   // method
  |   public void doMessage () {
  | try {
  | 
  |   // get initial context
  |   Hashtable env= new Hashtable ();
  |   env.put(Context.INITIAL_CONTEXT_FACTORY,
  |   "org.jboss.naming.HttpNamingContextFactory");
  |   env.put(Context.PROVIDER_URL,
  |   "http://localhost:8080/invoker/JMXInvokerServlet";);
  |   env.put(Context.URL_PKG_PREFIXES,
  |   "org.jboss.naming:org.jnp.interfaces");
  |   p ("Calling InitialContext");
  |   ctx = new InitialContext(env);
  |   p ("InitialContext Found");
  | 
  | } catch (NamingException e) {
  |   p ("\nNaming Exception");
  |   p ("  Explanation: " + "\n" + e.getExplanation() + "\n");
  |   p ("  Resolved Name: " + "\n" + e.getResolvedName() + "\n");
  |   p ("  RemaingingName: " + "\n" + e.getRemainingName() + "\n");
  |   p ("  Root Cause: " + "\n" +e.getRootCause() + "\n");
  |   p ("  Stack Trace: ");
  |   e.printStackTrace ();
  | } finally {
  |   if (connection != null) {
  | try {
  |   connection.stop ();
  |   connection.close();
  | } catch (JMSException e) {
  | }
  |   }
  | }
  | System.out.println("\nmain () End:");
  |   }
  | 
  |   void p (String s) {
  | System.out.println (s);
  |   }
  | 
  |   // members
  |   Context ctx;
  |   Queue  destination;
  |   QueueConnectionconnection;
  |   QueueConnectionFactory factory;
  |   QueueReceiver  receiver;
  |   QueueSession   session;
  |   QueueSendersender;
  |   TextMessagemessage;
  | } SCREEN PRINT:Calling InitialContext
  | 
  | Naming Exception
  |   Explanation:
  | Failed to retrieve Naming interface
  | 
  |   Resolved Name:
  | null
  | 
  |   RemaingingName:
  | null
  | 
  |   Root Cause:
  | java.io.IOException: Invalid reply content seen: class 
org.jboss.invocation.InvocationException
  | 
  |   Stack Trace:
  | javax.naming.NamingException: Failed to retrieve Naming interface [Root 
exception is java.io.IOExcep
  | tion: Invalid reply content seen: class 
org.jboss.invocation.InvocationException]
  | at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java
  | :69)
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  | at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | at javax.naming.InitialContext.init(InitialContext.java:223)
  | at javax.naming.InitialContext.(InitialContext.java:197)
  | at Test.doMessage(Test.java:38)
  | at Test.main(Test.java:22)
  | Caused by: java.io.IOException: Invalid reply content seen: class 
org.jboss.invocation.InvocationExc
  | eption
  | at 
org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:1
  | 38)
  | at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java
  | :65)
  | ... 6 more
  | 
  | main () End:
  | Press any key to continue . . . JBoss Web-Server Info for 
JMXInvokerServlet:Servlet
  | Name: JMXInvokerServlet
  | Servlet Statistics:
  | Min (ms)| Max (ms) | Average (ms) | Total (ms) | # Invocations|
  |0|20|12.5  | 100| 8|EXTRACT OF 
CHAPTER:3.2.1.2. 
  | 
  | The HTTP InitialContext Factory Implementation The JNDI naming service can 
be accessed over HTTP.
  | ...
  | The complete set of support InitialContext environment properties for this 
factory are:
  | 
  | java.naming.factory.initial: ... must be 
org.jboss.naming.HttpNamingContextFactory.
  | 
  | java.naming.provider.url: ...must be ... the public URL of the JBoss 
servlet container plus /invoker/JMXInvokerServlet. Examples include: 
  | http://www.jboss.org:8080/invoker/JMXInvokerServlet
  | http://www.jboss.org/invoker/JMXInvokerServlet ...
  | I tired both and both fail
  | 
  | The first example accesses the servlet using the p

[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-23 Thread md5georg
Didi,

Installing 4.0.2 solved my "Namespace can not be null" problems. You can find a 
RC1 of the 4.0.2 here:

http://sourceforge.net/projects/jboss/


Best regards,

Georg

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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: not getting JMX MBean Operation Result for Topic

2005-03-23 Thread k_s_ashok
To-day I downloaded 3.2.3 Source code and did not change anything.Then i build 
the server. 
In the new build server's jmx console doesn't show MBeans Topic 's JMX MBean 
Operation under jboss.mq.Destination

downloaded file name : jboss-3.2.3-src.tar.bz2 
  file size : 33,388,734 bytes
downloaded page URL: http://sourceforge.net/project/showfiles.php?group_id=22866
and i selected NewYork location mirror.


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

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


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >