[JBoss-user] [Beginners Corner] - JBossDukesBank Deployment Issue - in accessing Application m

2004-12-02 Thread chuayk
Hi, I am really new to JBoss. This is the first time I tried on JBoss. I refer to 'Getting Started with JBoss 4.0 Release 2', chapter 4 The Duke's Bank Application. It appears to me that no errors during creation of EAR (compile, package-ejb, package-web, package-client, assemble-app). How

[JBoss-user] [Security & JAAS/JBoss] - Re: principal=null even if request.getUserPrincipal() does n

2004-12-02 Thread j_ri
Hi Surak, I have exactly the same problem. It would be great if you found a solution and can tell me how it works. It is very strange that I am able to create an ejb after I click refresh on the browser when I get the security exception?! Thanks View the original post : http://www.jboss.org/

[JBoss-user] [Installation & Configuration] - Re: Listening on 2 LAN cards

2004-12-02 Thread FreddoFrog
Thanks for the info Scott! I changed the connector settings in jbossweb-tomcat41.sar / META-INF / jboss-webservice.xml to include a second connector and it works! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857284#3857284 Reply to the post : http://ww

[JBoss-user] [Beginners Corner] - General EJB security question

2004-12-02 Thread elindauer
Hi, I've been mulling over the following security hole in EJBs. Please tell me I am missing something, as this seems like an enormous, systemic problem. Let's say my bean has a method that takes as an argument some non-final object, and calls a non-final method of that Object, like so: public

[JBoss-user] [JCA/JBoss] - Re: I have trouble on JBoss JTA with OracleXADs and JMSQueue

2004-12-02 Thread giantgone
and more info. This problem is generated when JTA manages 2 JDBCConnections and 1 JMSConnection . However, this problem is not generated when JTA manages 1 JDBCConnection and 1 JMSConnection . Is it the problem of Oracle? View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Installation & Configuration] - Re: Securing access to JNDI tree

2004-12-02 Thread [EMAIL PROTECTED]
Ok, I see your confusion now and its due to not showing how to expose the NamingService via the detached invoker framework as a Naming proxy. Go reread the wiki which I have updated to show all of the details for changing the conf/jboss-service.xml NamingService to use a custom security intercep

[JBoss-user] [Installation & Configuration] - Re: NullPointerException in PreparedStatementCache.ageOut

2004-12-02 Thread koreth
I started seeing the same problem under 4.0.1RC1 when I turned on the prepared statement cache. My OS is Solaris 9, JVM is Sun's 1.4.2_06 on a dual-processor SPARC server talking to an Oracle 8i database. So I guess we've established that it's not OS-specific, it's not database-specific, and it

[JBoss-user] [Messaging, JMS & JBossMQ] - can't get JMS to rollback send using JmsXA

2004-12-02 Thread jcstaff
I cannot get my JMS sends to get rolled back as a part of a session bean setRollbackOnly() or EJBException. I am using: * transaction required on the session bean * java:/JmsXA connection factory * setting local transactions=false on the session * trying SessionContext.setRollbackOnly() * trying t

[JBoss-user] [Beginners Corner] - Do I Have to Create a new War File Just to Change a JSP?

2004-12-02 Thread mduffy_lists
Is there a directory in JBoss that corresponds to the WebApp directory in Tomcat? Or do I always have to, "Drop your war in server/default/deploy and it will be deployed. "? It seems like a hassel to build a war and do a complete redploy just to change a JSP. Thx. Mike View the original pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-02 Thread kalyan120
Thanks for the reply Scott Yes, we are aware that a connection has to be closed once it's usage is over. In fact, there are no threads hanging in the server if the clients are all killed. That part of the functionality is working fine. The problem is with the number of threads alive when the cl

[JBoss-user] [JCA/JBoss] - Re: I have trouble on JBoss JTA with OracleXADs and JMSQueue

2004-12-02 Thread giantgone
this is additional data. 1st MDB program 1-1. UserTransaction begin 1-2. update DB 1-3. send queue (2nd MDB) 1-4. UserTransaction commit 2nd MDB program 2-1. UserTransaction begin 2-2. read DB which was updated from 1-2 2-3. update DB 2-4. send queue (2nd MDB) 2-5. UserTransact

[JBoss-user] [Installation & Configuration] - Re: Securing access to JNDI tree

2004-12-02 Thread gavinho
"[EMAIL PROTECTED]" wrote : No. The org.jnp.interfaces.Naming interface is the interface exposed by the NamingService xmbean. All Naming interface invocations ultimately go through the NamingService xmbean and its associated interceptors. Browsed thru the source code tree jboss-3.2.5-src\naming

[JBoss-user] [Installation & Configuration] - JBOSS 4.0.0 JMS Configuration Using non-HSQL (ORCLE, MYSQL e

2004-12-02 Thread chesterxgchen
Hi, First I like to claim that this is a double post. Since I am posting a solution, I hope this is OK. I was trying to move JBOSS 4.0.0RC1 to JBOSS 4.0.0, and make the exact figuration, but alway get "XAConnectionFactory not bound" exception. The configuration works fine with JBOSS 4

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

2004-12-02 Thread vbatista
Hi! I have a CMP Entity Bean which requires a Transaction by default for all its methods. I have the following Xdoclet tag on the class definition: * @ejb.transaction type = "Required" Than I have a getValueObject() which is defined as: /** * @ejb:interface-method view-type="both"

[JBoss-user] [Installation & Configuration] - 4.0.0 installing an an AS400

2004-12-02 Thread smitopher
I have installed on an AS400. I set the environment variable JAVA_HOME = /QIBM/ProdData/Java400/jdk14 Java reports -server is not a valid arguement. when I execute run.sh, I get: run.sh | ulimit: 001-0007 Varia

[JBoss-user] [Installation & Configuration] - Re: using Oracle8i as the default DS

2004-12-02 Thread chesterxgchen
Ok, I found the solution, after many hours searching in /deploy/jms directory Following the documentation to do the following: 1. copy oracle-jdbc2-service.xml from /docs/examples/jms/ directory and modified the data source JDNI name. 2. delete hsqldb-jdbc2-service.xml

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-12-02 Thread RichardBerger
I am having the same problem. In Weblogic I was able to use the APP-INF directory to hold jars that were needed by the code I was generating at runtime. But I don't know how to do this in JBoss. Did you eventually solve the problem? Thanks! RB View the original post : http://www.jboss.org/

[JBoss-user] [EJB/JBoss] - Re: custom ClassLoader in session bean?

2004-12-02 Thread [EMAIL PROTECTED]
Try it, if it works your fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857260#3857260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857260 --- SF email is sp

[JBoss-user] [Beginners Corner] - Re: Symlinks in the deploy directory?

2004-12-02 Thread david_xplana
Thanks a lot Scott. I'm ashamed, all the permissions on the home directories were set to 700. Wow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857253#3857253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857253

[JBoss-user] [EJB/JBoss] - custom ClassLoader in session bean?

2004-12-02 Thread mihel
Hi! I have a task that implies loading custom user classes dynamically on the serverside. There will definately be a session bean in there, so I wonder will it break the EJB container if I try using my own custom ClassLoader there? In EJB 2.1 spec they say operating with ClassLoader from EJBs mus

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss 4.0.0 and MySQL 4.1 setRollbackOnly() problem

2004-12-02 Thread jsimone
I have fixed the problem by doing String msg = "exception message accessing bean CMP fields ..."; _ctx.setRollbackOnly(); throw new DuplicateException(msg); Don't know if this is a JBoss thing or a J2EE spec thing. Joe View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Messaging, JMS & JBossMQ] - Runtime Exception during ejbCreate

2004-12-02 Thread dtauzell
Lets say that during the ejbCreate() method of my MDB a RuntimeException gets thrown (NullPointer, etc ). The message should not be Acknowledged and should be returned to the JMS provider, right? Or do I need to catch that and call setRollbackOnly()? View the original post : http://ww

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP, BLOBS and findAll

2004-12-02 Thread ankurdotshah
Hi, I would like to know how to store and retrieve blobs from the database using Jboss/CMP/MySQL combination. I have a servlet that is suppose to first write the BLOB to the database and the same servlet later needs to retrieve the blob and send it to the client. The servlet always talk to the

[JBoss-user] [Security & JAAS/JBoss] - Re: Securing Encyrption Keys.

2004-12-02 Thread cfrostrun
Scott, i believe this is what i'm looking for, but i'm not quite sure what/where to implement, and what file configurations(conf/xml's) will need to be made for the implementation.. can you provide any other pointers ? thanks, c View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Clustering/JBoss] - Re: Clustered Sessions Problem

2004-12-02 Thread dfisher
Here is the exception from the session replication: java.lang.RuntimeException: JBossCacheManager.processSessionRepl(): failed to replicate session. at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:410) at org.jboss.web.tomcat.tc5.s

[JBoss-user] [Performance Tuning] - Re: jboss is slow.

2004-12-02 Thread schmidts
-Xmx? http://java.sun.com/docs/performance/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857241#3857241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857241 --- S

[JBoss-user] [Persistence & CMP/JBoss] - Re: Oracle and case preserved table names

2004-12-02 Thread schmidts
Is there any strong reason at all to use case-preserving create-table DDL in the first place? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857240#3857240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857240 --

[JBoss-user] [Beginners Corner] - Re: Symlinks in the deploy directory?

2004-12-02 Thread [EMAIL PROTECTED]
It looks ok to me. I created a link to a /tmp/test.war and that deploys fine: | [EMAIL PROTECTED] deploy]$ ls -l test.war | lrwxrwxrwx1 starksm starksm13 Dec 2 11:55 test.war -> /tmp/test.war/ | | ... | 11:56:27,186 INFO [TomcatDeployer] deploy, ctxPath=/test, warUrl=f

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSPs Always Recompiling (Not the typical question!)

2004-12-02 Thread [EMAIL PROTECTED]
If you have a testcase showing this behavior create a bug report so we can see why this is happening: http://jira.jboss.com/jira/browse/JBWEB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857238#3857238 Reply to the post : http://www.jboss.org/index.html?

[JBoss-user] [Security & JAAS/JBoss] - Re: Securing Encyrption Keys.

2004-12-02 Thread [EMAIL PROTECTED]
See: http://www.jboss.org/wiki/Wiki.jsp?page=JaasSecurityDomain View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857237#3857237 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857237

[JBoss-user] [Installation & Configuration] - Error starting PluginManager

2004-12-02 Thread StephanWolf
I started with the Minimal configuration in JBoss 3.2.3 running on Solaris 8 and JDK 1.4 64 bit mode, and am adding services as I need them. The jmx-console service is working properly, and now I am trying to get the web-console loaded. The PluginManager service is getting a "javax.naming.Name

[JBoss-user] [Management, JMX/JBoss] - Re: Sending notifications from MBean to client

2004-12-02 Thread [EMAIL PROTECTED]
Yes, you can have multiple clients without confusion. The handback object is more or less of use to the Listener. If it has made many registrations to different MBeans it could use the handback as an id to quickly distinguish from which subscription a notification came when handleNotification()

[JBoss-user] [Security & JAAS/JBoss] - Re: Is JBossSX /JAAS right for me?

2004-12-02 Thread [EMAIL PROTECTED]
JAAS is a security implementation detail that you should not be using directly if you want portability. The j2ee declarative security model is the only portable aspect of a deployment. How the roles declared in the deployment get mapped to a database is application server specific and therefore

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
Ok I guess I'm a little SLOW The interface needs to be named: blahMBean The implementation MUST be named : blah Now it works. Sorry for taking up so much space in this forum :-) For anyone who iis interested here is the working code. public interface EmailConfigFormMonMBean { publ

[JBoss-user] [J2EE Design Patterns] - ServerSocket MBean

2004-12-02 Thread infectedrhythms
I think Dimitris is going to start hating me lol But then again I should have been maybe posting this question here or maybe someone can point put a good forum to go discuss this... Am thinking I want to write a service that will offer server capabilities to all my other services and I would li

[JBoss-user] [Management, JMX/JBoss] - Re: Sending notifications from MBean to client

2004-12-02 Thread mmigal
Thank you for quick responses. I have another question though. If there are multiple clients that want to listen for notifications, does the ServiceMBeanSupport class handles this case? Should I pass a unique handback object when registering, so that the listener can be uniquely identified?

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JB does not accept my web-app

2004-12-02 Thread Raist_Majere
Your problem is due to you have servlet definitions and mappings not in the correct order. You have to define first the servlet definitions and then the servlet mappings (not as you have servlet-def, servlet-map, servlet-def, servlet-map). View the original post : http://www.jboss.org/index.h

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
I'll write that again, if you class is called Z the interface must be called ZMBean So, just change the name of you implementation class to: EmailConfigForm in order to agree with interface name EmailConfigFormMBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Installation & Configuration] - Re: JNDI serialization problem

2004-12-02 Thread amayingenta
Thanks for your reply. I'd accidentally included the jndi.properties intended for test clients in the jar of classes inside my EAR. Everything now works as expected. Thanks again, Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857229#3857229 Reply t

[JBoss-user] [Installation & Configuration] - Problems running JBoss 4.0.0 as Windows Service

2004-12-02 Thread rjalisatgi
I have installed JBoss 4.0.0 on Windows Server 2000. Jboss runs file when run from the command line(run.bat), but does not run properly when started as a Windows service. I get the following error: 19:56:18,296 INFO [Server] Starting JBoss (MX MicroKernel)... 19:56:18,296 INFO [Server] Release

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
I just looked at the MBeanCapability.java file where the exception is being thrown. The strange thing is that it thinks the mbeanClass is java.lang.Object. What's up with that?? Do I need to do a class cast in the register call or something like that? Thanx Warren View the original post : ht

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can not publish a MapMessage

2004-12-02 Thread [EMAIL PROTECTED]
The jms MapMessage implementation changed between 3.2.3 and 3.2.6 such that its not serializable compatible, but the serialVersionUID was not changed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857225#3857225 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Management, JMX/JBoss] - Re: How to dynamically create a standard MBean

2004-12-02 Thread [EMAIL PROTECTED]
H It doesn't seem to matter what the name of the implementation class is I always get the same error. I've changed the name of the impl class to EmailConfigFormMBean EmailConfigFormBllahImpl I always throws the NonCompliantMBeanException The interface does follow the standard mbean

[JBoss-user] [Security & JAAS/JBoss] - Re: Force client to send client certificate?

2004-12-02 Thread infectedrhythms
Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857223#3857223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857223 --- SF email is sponsored by - The IT Pro

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Request Header

2004-12-02 Thread [EMAIL PROTECTED]
Works fine for me. I threw a snoop.jsp page into the jmx-console.war, enabled the RequestDumperValve and printed out the request.getHeader("Accept-Encoding") header value as seen in the jsp page: console output of RequestDumperValve: | 10:16:00,622 INFO [Server] JBoss (MX MicroKernel) [3.2.

[JBoss-user] [News & Announcements] - Re: JBoss 4.0 Roadmap update

2004-12-02 Thread [EMAIL PROTECTED]
fixed View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857221#3857221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857221 --- SF email is sponsored by - The IT Produ

[JBoss-user] [Beginners Corner] - Re: how to use / deploy J2EE application in unpacked / open

2004-12-02 Thread Frito
You can deploy a directory, named as .war and with the normal war structure. But you still have to redeploy this war after changing resources by touching the wars deployment descriptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857220#3857220 Reply to th

[JBoss-user] [Beginners Corner] - Re: org.jboss.util.NestedSQLException:

2004-12-02 Thread Raist_Majere
You have uncommented too many lines, 'cause there has to be only one "connection" tag uncommented. So when using the datasource for CMP the datasource cannot be found because is missconfigured. If you want to use TCP connections, leave that "connection" tag uncommented and comment the other ones

[JBoss-user] [JCA/JBoss] - Re: Principal Mapping for JCA Authentication

2004-12-02 Thread ftg314159
Ahh, I see now. The RA stuff just has a realm name, and everything else goes in login-config. What I had in mind was a login module that mapped the caller userid/password to another pair, possibly controlled by a properties file the way the server-side EJB login module works. I'll check the s

[JBoss-user] [Management, JMX/JBoss] - Re: Problem with MBean JBoss3.2.3 -> JBoss4.0.0

2004-12-02 Thread [EMAIL PROTECTED]
Read the release notes about the changes to the default configuration. To restore the 3.2.x behavior: | [EMAIL PROTECTED] Releases]$ cd jboss-4.0.0/server | [EMAIL PROTECTED] server]$ mv default default-save | [EMAIL PROTECTED] server]$ mv standard default | run as usual. View the or

[JBoss-user] [Advanced Documentation] - Re: Docs for 4.0

2004-12-02 Thread [EMAIL PROTECTED]
I predict: 11:59pm on new years eve! :) Seriously, it is being worked on now and will be out this month. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857215#3857215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - Re: JNDI serialization problem

2004-12-02 Thread [EMAIL PROTECTED]
Your application can change the jndi semantics by including a jndi.properties which does so. Run your app test in the unmodified standard configuration to validate whether its a change you made in the config or something the app is doing. View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Installation & Configuration] - JNDI serialization problem

2004-12-02 Thread amayingenta
Hi, I'm using JBoss 4.0.0 and I'm having some problems with JBoss apparently ignoring the CallByValue=false attribute of the NamingService in my custom JBoss configuration. I have a custom server configuration containing those services I need deployed. It is based upon the standard configuratio

[JBoss-user] [Persistence & CMP/JBoss] - Re: CacheInvalidator(3.2.7RC1 jdbc2) complains alot, why?

2004-12-02 Thread [EMAIL PROTECTED]
This looks like a questionable warn level message. File a bug report at http://jira.jboss.com/jira/browse/JBAS so someone can look into it. Indicate whether the keys shown should in fact be in the cache. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857212#3

[JBoss-user] [News & Announcements] - Re: JBoss 4.0 Roadmap update

2004-12-02 Thread yaronz
Hi, The URL is broken, you get "The file id is not indicated" Yaron. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857211#3857211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857211 -

[JBoss-user] [JCA/JBoss] - Re: Principal Mapping for JCA Authentication

2004-12-02 Thread [EMAIL PROTECTED]
The CallerIdentityLoginModule as described here sounds its what you want. If its not provide the specifics of the identity mapping your looking for. http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJCALoginModule View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385

[JBoss-user] [Advanced Documentation] - Re: Docs for 4.0

2004-12-02 Thread yaronz
Hi, December has arrived - do you have more visibility to the exact release date? Thanks, Yaron. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857209#3857209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857209 -

[JBoss-user] [Installation & Configuration] - Re: Securing access to JNDI tree

2004-12-02 Thread [EMAIL PROTECTED]
No. The org.jnp.interfaces.Naming interface is the interface exposed by the NamingService xmbean. All Naming interface invocations ultimately go through the NamingService xmbean and its associated interceptors. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Management, JMX/JBoss] - Re: Sending notifications from MBean to client

2004-12-02 Thread [EMAIL PROTECTED]
No. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857207#3857207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857207 --- SF email is sponsored by - The IT Product

[JBoss-user] [EJB/JBoss] - Re: Client access before server running

2004-12-02 Thread [EMAIL PROTECTED]
No, as 'fully running' is an arbitrary statement depending on what components are configured. You need to use dependencies or 'Russian Doll' packaing to ensure that your cache services are started before the mdbs. Read chapter 2 of the admin/devel guide for more info on the options. View the or

[JBoss-user] [Management, JMX/JBoss] - Re: Sending notifications from MBean to client

2004-12-02 Thread mmigal
In the 3.2.6 version, in order to receive JMX notifications, docs/examples/jmx/jmx-rmi-adaptor.sar file needed to be copied to the deploy directory, and jmx-invoker-adaptor-server.sar removed. Is it still necessary in the 4.0.0 version? I don't see the jmx-rmi-adaptor.sar in the 4.0.0 docs/ex

[JBoss-user] [Installation & Configuration] - Re: JDom + JBoss3.2.6

2004-12-02 Thread [EMAIL PROTECTED]
If you have a sample application that demonstrates the problem create a bug report on http://jira.jboss.com/jira/browse/JBAS so I can look at it. You will have to use scoped class loading and include both the jdom and jaxen jars in the application scope to override the jboss jars. View the or

[JBoss-user] [Security & JAAS/JBoss] - Re: Force client to send client certificate?

2004-12-02 Thread [EMAIL PROTECTED]
Add clientAuth="true" to the Connector configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857203#3857203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857203 --

[JBoss-user] [News & Announcements] - Re: JBoss MicroContainer M1 Released

2004-12-02 Thread [EMAIL PROTECTED]
The valve needs to go in the container (for queuing while it is undeployed) and as an interceptor to handle different policy requirements. There is MicroContainer development forum if you want to discuss further, but I'll be more details into JIRA soon. View the original post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - javax.naming.CommunicationException: Receive timed out.

2004-12-02 Thread monsterk
I everybody iÂm trying to implementing a simple send receive example and when i try to start the sender i got this error on jboss C:\SADSXPJAVA\JMS\bin>java -classpath .;c:\jboss-3.2.1\client\jbossall-client.jar MessageSender javax.naming.CommunicationException: Receive timed out. Root excepti

[JBoss-user] [Installation & Configuration] - Re: Compatibility across JBoss versions

2004-12-02 Thread frank_montoya
Nobody has an idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857200#3857200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857200 --- SF email is sponsored by

[JBoss-user] [Management, JMX/JBoss] - Re: Sending notifications from MBean to client

2004-12-02 Thread [EMAIL PROTECTED]
There are examples of this in the testsuite as well as the admin/devel guide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857196#3857196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857196 ---

[JBoss-user] [Installation & Configuration] - Re: Listening on 2 LAN cards

2004-12-02 Thread [EMAIL PROTECTED]
You have to configure the various services you want running on the different interfaces with multiple connectors. For tomcat this means adding two Connector configurations in the jbossweb-tomcat50.sar/server.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication

2004-12-02 Thread ssambi
There isn't a crash in my example, my problem occurs while Jboss is starting. Here are the steps I think Jboss works with my timers: - Jboss deploys my application - Jboss starts my application - The ServletContext of my application is initialized - My timers are created by my ServletContextListen

[JBoss-user] [Clustering/JBoss] - Re: Clustered Sessions Problem

2004-12-02 Thread dfisher
This one might be more helpful This is what I get when I try to access a servlet which calls request.getSession(): 2004-12-02 11:11:47,217 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] initAfterLoad(): initialize the transient variables ... 2004-12-02 11:11:47,218 DEBUG [org.jb

[JBoss-user] [Clustering/JBoss] - Re: Clustered Sessions Problem

2004-12-02 Thread [EMAIL PROTECTED]
Ben will probably need the stack trace to determine what's causing the NPE. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857192#3857192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857192 ---

[JBoss-user] [Clustering/JBoss] - Clustered Sessions Problem

2004-12-02 Thread dfisher
I posted this on the JBossWeb forum, but this might be the right place for it... I'm having a problem with session replication in jboss 3.2.6. Specifically I see these types of errors in my log: 16:27:27,992 ERROR [JBossCacheManager] processSessionRepl: failed with exception: java.lang.NullPoint

[JBoss-user] Help to configure datasource to oracle db.

2004-12-02 Thread DEVEDJIAN Laurent
Hi, Sorry to post this message but I try and try again without success a way to configure an test my access to an oracle database. I read documentation and exemple on the doc folder. But I have always the same problem. I use the default profile. I have a database oracle, and I install classes12.

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing xml files in a SAR archive after deployment

2004-12-02 Thread andyd
Dimitris, That worked a treat. Many thanks. Andy. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857183#3857183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857183 ---

[JBoss-user] [Beginners Corner] - Deploying with JBOSS and IntelliJ IDE

2004-12-02 Thread embe
When I try deploying an application with the Intellij IDE, I get an error stating " The requested resource (/sample/greeting) is not available.". I figured that IntelliJ doesn't map the created EAR file to the Jboss deployment service so I copied the EAR file to the "...\deploy\"

[JBoss-user] [Security & JAAS/JBoss] - Force client to send client certificate?

2004-12-02 Thread infectedrhythms
How can I configure my web app or server to force a client to send a client certificate when trying to get my servlet? Thanks? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857181#3857181 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Installation & Configuration] - Re: Debug logging for Hibernate

2004-12-02 Thread analogueboy
not sure if its the best way forward, but we've set the level for the appender to debug and then change the categories that we don't want to lower levels, for example, org.jboss is at warn. This works fine for us, it seemed that the appender settings took preference over categories. I may need

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB processing is sleeping for ten minutes (transaction time

2004-12-02 Thread sheckler
Hi, I am running an application based on jboss 3.2.6 which is being tested by now. The following behaviour has occured, while testing: a Singleton MDB (anonymous wrote : Auto-acknowledge,nonDurable,transaction-type = "Container",ejb.transaction type="Required") is listening to a queue, on the

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing xml files in a SAR archive after deployment

2004-12-02 Thread andyd
Hi Dimitris, Many thanks, I'll givr it a try. Andy. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857177#3857177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857177

[JBoss-user] [Security & JAAS/JBoss] - Re: AbstractServerLoginModule not found

2004-12-02 Thread Darknight
I finally got it right. I was doing "almost" everything right View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857176#3857176 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857176 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: java.io.StreamCorruptedException is thrown while connect

2004-12-02 Thread mihufnag
We encountered this problem not to be related to a certain java version because it is the same with java 1.4.2_06 b03. It is certainly related to the OS because on Solaris it works regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857172#3857172 Reply

[JBoss-user] [News & Announcements] - Re: Nukes 2.0 Developer Release Available

2004-12-02 Thread code11
11 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857171#3857171 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857171 --- SF email is sponsored by - The IT Product

[JBoss-user] [JCA/JBoss] - Re: Datasource creation for oracle in JBOSS

2004-12-02 Thread darranl
Try starting JBoss without your application or -ds.xml deployed. Put the -ds.xml in the deploy folder, look at any messages on the console to see if it deployed. Use JNDI View in jmx-console to check that the connection bound. Only when you know that the connection has been bound correctly then

[JBoss-user] [JCA/JBoss] - Re: Datasource creation for oracle in JBOSS

2004-12-02 Thread bonthus
thanks joy i have tried ur option also but it was not working now also every thing i have given was fine but i dont know y it was not working while starting itself it is showing that no resource manager found for OracleDS i think datasource was not created yet how can i do at this stage

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with roles: principalRoles=null

2004-12-02 Thread Darknight
Try to put the ClientLoginModule as the last module in your config file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857168#3857168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857168

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing xml files in a SAR archive after deployment

2004-12-02 Thread [EMAIL PROTECTED]
Maybe, try this: | Thread.currentThread().getContextClassLoader().getResourceAsStream("/META-INF/my-descriptor.xml"); | anonymous wrote : | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857167#3857167 Reply to the post : http://www.jb

[JBoss-user] [Management, JMX/JBoss] - Accessing xml files in a SAR archive after deployment

2004-12-02 Thread andyd
Hi, I'm writing a service (for jboss 4) and need to have a specialised configuration file stored in the SAR archive, possibly in META-INF. I'm having problems finding out how I reference the file from an MBean in the same SAR. Can somebody give me some pointers? Many thanks Andy. View the ori

[JBoss-user] [Persistence & CMP/JBoss] - Re: Composite Primary keys using cmr fields

2004-12-02 Thread lasitha
Thanks a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857163#3857163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857163 --- SF email is sponsored by - The

[JBoss-user] [Installation & Configuration] - Debug logging for Hibernate

2004-12-02 Thread eugene_prokopiev
Hi, I need to debug Hibernate in JBoss 4. I modified file server/default/conf/log4j.xml in default installation: | | | | http://jakarta.apache.org/log4j/"; debug="false"> | | | | | | | | | | | |

[JBoss-user] [J2EE Design Patterns] - Re: Help with MBean

2004-12-02 Thread yerenkow
Sorry, tags didn't shows :) in SAR's jboss-service.xml I've put such strng: ... ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857161#3857161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [J2EE Design Patterns] - Help with MBean

2004-12-02 Thread yerenkow
Hi all. I have a SAR-package as directory, in which are EAR package as directory too. in SAR's jboss-service.xml I've put such strng: ... ... And all goes OK, until I want to undeploy my SAR. I try delete it, EAR undeployed successfully, SAR's looks like too, but! I cannot delete my.zip after t

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error starting JMX console

2004-12-02 Thread darranl
When asking for help to solve an error you need to post the full error and stack trace on here. Have you set the JAVA_HOME environment variable? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857158#3857158 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss 4.0.0 and MySQL 4.1 setRollbackOnly() problem

2004-12-02 Thread ssmithstone
have you tried the BDB table type? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857157#3857157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857157 --- SF email i

[JBoss-user] [Installation & Configuration] - Re: JDom + JBoss3.2.6

2004-12-02 Thread Viseu_Prodigy
Sorry.. its not server/lib, is jbossXXX/lib. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857156#3857156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857156 ---

[JBoss-user] [Installation & Configuration] - Re: JDom + JBoss3.2.6

2004-12-02 Thread Viseu_Prodigy
I solved it with a very bad action: i removed jaxen.jar from server/lib. This is very weird... i know that my app can invoke the jdom methods but when it invoke the jaxen method it gave me the exception. I think this is because my app is using jaxen.jar from server/lib. The weird thing is that i

[JBoss-user] [JBoss Getting Started Documentation] - Error starting JMX console

2004-12-02 Thread palaniuk
I've started studying the JBoss anf I've got a problem. I've started the server JBoss successfully. But when I try to start the JMX console (http://localhost:8080/jmx-console), it appears an error. The error is Unable to find a javac compiler; I've Windows XP and I've put the javac into the PA

[JBoss-user] [Installation & Configuration] - Re: Listening on 2 LAN cards

2004-12-02 Thread analogueboy
by default it will bind to 0.0.0.0 so it is available on all interfaces in a multi-homed machine, have a look at the console output when you start the server for more info. You can bind it to a single interface easily too, but I've never tried to bind it to more than one interface where the host

[JBoss-user] [Management, JMX/JBoss] - Re: Jvm 1.5.0, jboss 4.0.0 and remote jvm jmx monitor

2004-12-02 Thread time4tea
Thanks for the update! Best regards, James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857152#3857152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857152 ---

[JBoss-user] [EJB/JBoss] - Client access before server running

2004-12-02 Thread kesanenk
I have a problem that clients can access jboss and my application before server is really running and my application is fully deployd. I deploy whole application in one ear file. Ear contains 15 ejbs, 2 mbeans and 7 JMS topics and queues (sar files are inside ear). Just after my message driven

[JBoss-user] [Security & JAAS/JBoss] - Re: AbstractServerLoginModule not found

2004-12-02 Thread Darknight
Unfortunately that didn't solve the problem. I thought everything was fine when I discovered about the ProxyLoginModule but in fact the classloader is still looking for server side classes the client should not have access to nor care about... If I include jboss_dist/server/all/lib/jbosssx.jar i

  1   2   >