[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-11-02 Thread chiba
Generating physical class files in advance is the simplest way. Otherwise, you might be able to modify a class loader that loads your EJB so that the class loader also can find "virtual" class files generated on the fly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Beginners Corner] - Re: JNDI Datasource

2004-11-02 Thread raja05
http://www.jboss.org/wiki/Wiki.jsp?page=CreateAJDBCDataSource You cannot access the jndi names for Datasources outside of a VM as they are bound using the java:/ namespace View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853695#3853695 Reply to the post : htt

[JBoss-user] [EJB/JBoss] - creating a ejb client in jboss 4

2004-11-02 Thread alphanzox
Hy, Could any please let me know how to develop a ejb(session bean) client, where the server is jboss 4, like what will be the properties and which jar files will be needed to be set in the class path. Thank you, Umair Raza View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [JCA/JBoss] - Re: TopLink (9.0.4-10.1.3) and JBoss (3.2.3-4.0.0) JTS XA in

2004-11-02 Thread natebowler
I don't believe there is still a currentTx in afterCompletion(). The incoming status to afterCompletion is 3 (STATUS_COMMITTED). A code snippet from the afterCompletion(int) handler that TopLink provides is as follows (hope this is helpful): public void afterCompletion(int status) {

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-02 Thread chiba
One possibility is that URLClassLoader could find the modified class file but failed bytecode verification. (I'm not sure, though.) Can you make sure that you can load the modified class without a URL class loader (with a system class loader)? If you cannot, that means the modified class file is

[JBoss-user] [Beginners Corner] - Re: Newbie Question Regarding Jboss 2.2.4 and Tomcat

2004-11-02 Thread [EMAIL PROTECTED]
Well, I figured out that the version I'm using access the jmx agent . this way... http://localhost:8082 Later versions use the /jmx-console and I don't even think the version I'm using 2.4.4 has a web-console . View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [Installation & Configuration] - MDB Rollback Configuration (Jboss3)

2004-11-02 Thread karen_au
I am using Jboss3 , I would like to rollback the message when there is any exception throw in the on Message() of my MDB. However, I have followed the configuration on the internet . I still have a exception like the followings . Is there any configuration that I missed ?? Any suggestions are app

[JBoss-user] [Beginners Corner] - JNDI Datasource

2004-11-02 Thread gopalakrishnant
Hi, I configured a datasource in JBoss and i tried to access it with in the Jboss it is working fine ,but when i try to access it outside of the JBoss,it is throwing name not bound exception. Is it possible to configure a datasource in JBoss, such a way that it becomes available from a standalon

[JBoss-user] [Installation & Configuration] - Can jboss4.0 run with IBMJava2-142 on linux?

2004-11-02 Thread linux123
When I use sun jdk1.4.2, it's no problem on linux; but when I use jdk IBMjava2-142, some exceptions will occur, could u tell me how to solve this porblem? I need to use IBMJava. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853686#3853686 Reply to the post

[JBoss-user] [Beginners Corner] - Re: Tutorial Recommendations?

2004-11-02 Thread redBeard15
I worked with the tutorial at http://www.tusc.com.au/tutorial/html/ . However, this tutorial introduced an Eclipse plugin called Lomboz into the mix. It really didn't teach me about EJB design and development. Quite frankly, the best book/tutorial I found on EJBs was Wiley's Mastering Enterpri

[JBoss-user] [EJB/JBoss] - Re: CMP - composite primary key - @ejb.primkey spec

2004-11-02 Thread redBeard15
I found that one cannot specify the 'primkey-field' attribute on the @ejb.bean tag if you have a composite key for the bean. You must specify @ejb.pk-field tags on all of the getter/setter methods that define your composite key. Then, if you specify the subtask in the task in your build fil

[JBoss-user] [Beginners Corner] - Re: Tutorial Recommendations?

2004-11-02 Thread vashistvishal
Ttry this... http://www.tusc.com.au/tutorial//index.html This is bit out of date now. I a'm currently trying to write a new one for Jboss4.0 and Eclipse with whole J2EE life cycle covered staring from setting up the CVS to finally deplyoing the Project .ear file. Vishal View the original post :

[JBoss-user] [EJB/JBoss] - Re: Using Mysql as DataSource

2004-11-02 Thread redBeard15
Here's my build.xml file for 'xdoclet' task to generate JBoss descriptor file: | | In an (entity) bean: | * @ejb.bean | * name="Customer" | * type="CMP" | * view-type="local" | * primkey-field="customerKey" | * @ejb.persistence | * table-name

[JBoss-user] [Installation & Configuration] - Re: Two instances of JBoss 4.0 on same machine

2004-11-02 Thread didickman
There are quite a few posts out there that answer this question. Have a look at my earlier post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55988 Or try out this wiki page: http://www.jboss.org/wiki/Wiki.jsp?page=Setmultipleinstances Also the admin guide has a section on this (chap

[JBoss-user] [EJB/JBoss] - Using Mysql as DataSource

2004-11-02 Thread pedrojosemartins
Hi, I am trying to deploy an EJB and want to use Mysql. How should i complete the following fields: File xdoclet.xml: | File StoreAccessBean.java @ejb.resource-ref res-ref-name="REPLACE_HERE" | res-type="javax.sql.Datasource" | res-auth="Container" | | @jboss.resou

[JBoss-user] [Installation & Configuration] - JBoss, SQL Server, EJB problem

2004-11-02 Thread tfrith
I'm using SQL Server 2000, JBoss 3.2.1, and the microsoft jdbc driver. On my development machine (Win XP pro) the app works fine. On the server (Win server 2003 small bus edition) I get exceptions deploying the EJBs (see stack trace below). The database port (1433) is open and I've confirmed sql

[JBoss-user] [Persistence & CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-11-02 Thread LaLiLuna
First I have a different proposal. Use a ValueObject design pattern instead of calling all the getters. This is only one getter and you get a class representing your entity class. Change the class and send it back. You can find the commit Options in jboss-3.2.5\server\default\conf\standardjboss

[JBoss-user] [Persistence & CMP/JBoss] - Re: default values

2004-11-02 Thread LaLiLuna
You can call any abstract setters and set the values in your ejbCreate method. Regards Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853673#3853673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853673 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Regarding CMP

2004-11-02 Thread LaLiLuna
Hallo, did you change the mapping the datasource-mapping in your jbosscmp-jdbc.xml. You find the different mappings in the file jboss-3.2.5\server\default\conf\standardjbosscmp-jdbc.xml Kind Regards Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss hangs forever

2004-11-02 Thread ndle02
2004-11-02 16:23:33,984 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.ApprobationProcess] [http-0.0.0.0-8080-Processor7] load relation SQL: SELECT id FROM ProcessAction WHERE (cycleId=?) 2004-11-02 16:23:33,984 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPo

[JBoss-user] [Messaging, JMS & JBossMQ] - JBossMQ Message Forwarding

2004-11-02 Thread ronchalant
Is there any way I can automatically configure message forwarding between two JMS servers? I'd like to have two instances of JBoss with JBossMQ running under each, and when a network connection is available between two topics have any messages posted on one queue automatically forwarded to a de

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS and socket

2004-11-02 Thread jboss-xx_user
J2EE1.4 supports invoking an MDB providing it with a message taken from a socket as opposed to a queue. Could anyone please tell me, whether jboss3.2.x supports the above? If it supports where to configure the deployment details? Thanks in advance -RK View the original post : http://www.jboss

[JBoss-user] [Installation & Configuration] - Two instances of JBoss 4.0 on same machine

2004-11-02 Thread adam.stortz
I am trying to setup 2 instances of JBoss on the same machine. I have read multiple posts, but none have had an extensive explanation. I have begun trying to use the Services Binding Manager, but I am not really sure how it works, would someone please explain this to me, or point me in the direc

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS subscriber reconnect

2004-11-02 Thread genman
Take a look at server/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java in the JBoss sources. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853665#3853665 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853

[JBoss-user] [Installation & Configuration] - Re: How can I rename a cluster partition?

2004-11-02 Thread jiwils
The posts regarding changing the cluster name are right to caution you. To do that, you will have to correctly change the cluster name attribute in several configuration files, and you must only change the attribute "PartitionName" not the MBean name itself (which is also "DefaultPartition").

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss messages not consuming

2004-11-02 Thread genman
Can you reproduce on the latest in the 3.2 branch? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853663#3853663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853663 -

[JBoss-user] [Beginners Corner] - Re: Problems with Struts validation (only in

2004-11-02 Thread d-rock
Well, now it's doing it under "default" as well. It looks like something in reflection is not handling inheritance correctly. See this page: http://www.mail-archive.com/[EMAIL PROTECTED]/msg82382.html Derek View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38536

[JBoss-user] [Installation & Configuration] - Re: How can I rename a cluster partition?

2004-11-02 Thread janilsal
in the "cluster-service.xml" file under deploy directory of your configuration (all for example), change the attribute "PartitionName" to the name you want [Remember just the attribute name] DefaultPartition Do **not** find/replace all occurrences of the word "DefaultPartition".

[JBoss-user] [Installation & Configuration] - Re: How can I rename a cluster partition?

2004-11-02 Thread janilsal
| DefaultPartition | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853660#3853660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853660 --- This SF.Net email

[JBoss-user] [Beginners Corner] - Newbie Question Regarding Jboss 2.2.4 and Tomcat

2004-11-02 Thread [EMAIL PROTECTED]
I've installed jboss 2.2.4 with tomcat. When I goto localhost:8080 I get page cannot be displayed and this is the error code from jboss.. It can't seem to find the root app? Is the root index page of tomcat suppose to display or jboss? [INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost

[JBoss-user] [Installation & Configuration] - How can I rename a cluster partition?

2004-11-02 Thread didickman
I am trying to create separate PROD, QA, and DEV JBoss cluster partitions. Obviously we want these clusters to be disjoint. I tried to do so by making a copy of the 'all' configuration and then replacing DefaultPartition with ProductionPartition. (See shell script below) When I fired up JBoss th

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss messages not consuming

2004-11-02 Thread dmorris1238
We are using JBoss 3.2.2. We have an instance where we suspect a bad message object is NOT being consumed on the receiver end. When the receiver tries to 'consume' the bad message object, the message object is NEVER removed from the queue. This causes the queue size to increase but never go d

[JBoss-user] [Installation & Configuration] - Restricting access

2004-11-02 Thread TimGE
Is there a way to configure JBoss so that it only accepts requests coming from the localhost? I only want it to accept requests from my proxy server on the same machine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853650#3853650 Reply to the post : http:/

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

2004-11-02 Thread baskar_bharadwaj
Hi all, I've recently started working with CMPs on JBoss. I created an entity bean with some finder methods (using EJB QL : LOCATE method...,) In the jbosscmp-jdbc.xml, I configured the data source for this entity bean as 'mySQL' & was working with MySQL server - in my system. This was running wi

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-02 Thread MadMan
Hi, I use the normal URLClassLoader in java 1.4.2. In my opinion the URL must be correct as I can load it when I use version 1 with the indirection. The class not found is the modified one. Other classes in the same directory, for example the interface of the modified class, which was also mod

[JBoss-user] [Security & JAAS/JBoss] - from web.xml &&

2004-11-02 Thread liooil
Hello world, Sorry if this question has already been posted here, but i'm quite new in JBoss, so feel free to forward me to the relevant thread if necessary. I'm buiding a webapp where users can be distinguished by they role. I needed to respect JAAS, so 've defined this roles in myWebApp-roles.p

[JBoss-user] [Beginners Corner] - Problems with Struts validation (only in

2004-11-02 Thread d-rock
Hi, I've written a web app using Struts and the Commons Validator that I'm deploying on JBoss 3.2.6. If I deploy it in the "default" configuration everything is happy and it works great. If I try to deploy it in the "all" configuration, the validation fails with a NoSuchMethod exception and

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to port entity EJB 1.0, 1.1 using Jaws from JBoss 3.

2004-11-02 Thread nguyenthehoa
hi All, I have found why my EJB that work on Jboss 3.2.2, and NOT work on JBoss 3.2.6. In the JBoss 3.2.6, the persistence-manager property (set in the standardjboss.xml) has been changed to JDBCStoreManager as shown in the following extracted codes: | Standard CMP EntityBean |

[JBoss-user] [Javassist user questions] - Re: How do i turn off optimization options for the compiler

2004-11-02 Thread chiba
??? What is optimized? Please don't trust your decompiler if a class file is generated by a bytecode translator such as Javassist.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853644#3853644 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Javassist user questions] - Re: synchronized

2004-11-02 Thread chiba
I've just implemented it. Please take a look at CVS HEAD. Chiba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853642#3853642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853642

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS subscriber reconnect

2004-11-02 Thread gmand
I've looked through the forum and have yet to find a great example of how to implement a subscriber reconnect after a ping timeout has occurred. I've implemented the ExceptionListener to know when the timeout has occurred, but now I want to know what the correct way is to reconnect to the provi

[JBoss-user] [JCA/JBoss] - Re: TransactionManager - error in delist; already committed

2004-11-02 Thread patrickvankann
I have found that adding true to my datasource definition has fixed this problem in both JBoss 3.2.6 and JBoss 3.2.5. It's a bit frustrating as I have no idea why and only stumbled on the solution due to similar problems I had using JBoss 4.0. View the original post : http://www.jboss.org/in

[JBoss-user] [Management, JMX/JBoss] - Re: exposing jmx mbeans to remote clients

2004-11-02 Thread dengyuan
Hi, I tried the MyService example code on 3.2.6 and it's not worked for me neither. I found out some interesting things which is the client-side's MarshalledInvocation has Method object setup properly. But, the server-side's MarshalledInvocation doesn't has that piece of information. I can see

[JBoss-user] [Management, JMX/JBoss] - Re: exposing jmx mbeans to remote clients

2004-11-02 Thread dengyuan
Hi, I tried the MyService example code on 3.2.6 and it's not worked for me neither. I found out some interesting things which is the client-side's MarshalledInvocation has Method object setup properly. But, the server-side's MarshalledInvocation doesn't has that piece of information. I can see

[JBoss-user] [JCA/JBoss] - Re: Transaction problems moving from JBoss3.2 to JBoss4.0

2004-11-02 Thread Joel.Rosi-Schwartz
I just added true to my data source definition and the problem disappears. What could that possibly indicate? - joel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853633#3853633 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [JCA/JBoss] - Re: Transaction problems moving from JBoss3.2 to JBoss4.0

2004-11-02 Thread patrickvankann
I am pleased to report that adding true has done the trick for me as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853636#3853636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853636 --

[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-11-02 Thread chiba
I think JBoss has API to substitute a user-defined class loader for the original one. WebLogic should have such a API... :-p Chiba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853625#3853625 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [EJB/JBoss] - mdb in jboss.xml

2004-11-02 Thread adini
hello, my jboss.xml file is as following : | | MdbModuleInitializationBean | topic/InitializationTopic | | jdbc/AdminDB | jdbc_AdminDB | | | | | | | MdbMonitorin

[JBoss-user] [Javassist user questions] - How do i turn off optimization options for the compiler ?

2004-11-02 Thread r.sankar
The following method needs to be created ... this is just a code snippet of the body .. [Method] public boolean parseForHeader(String s);[/Method] | | { | java.lang.String msg = $1; | com.emirates.ngcs.poc.messages.FFMMessage msgobj = new |

[JBoss-user] [JBoss.NET] - Re: JBoss.net on 4.0 produces errors

2004-11-02 Thread tdiesler
The warning only indicates that a WS4EE specific interceptor could not be loaded, which confirmes that you successfully removed JBossWS. If you've already gone through the efford of building from source, you can use the 'deploy' target in jboss.net/build.xml like this | cd jboss.net | ant

[JBoss-user] [EJB/JBoss] - EJB QL statement pb on

2004-11-02 Thread adini
Hello, I am currently migrate a J2EE application (with MDB CMP ) in order to use JBoss server. I have created jboss.xml and jbosscmp-jdbc.xml file. I didn't change my ejbjar.xml (that is working perfectly with my previous apps server) so in this file I have got all EJB QL query that is wor

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-02 Thread chiba
/* if I replace the above mentioned line with the second version, I get |a ClassNotFoundException:*/ | nMethod.setBody(cc.getDeclaredMethod(oldMethods[ i ].getName()), null); | cc.setModifiers(cc.getModifiers() & ~Modifier.ABSTRACT); So you received a ClassNotFoundException when you l

[JBoss-user] [JCA/JBoss] - Re: Transaction problems moving from JBoss3.2 to JBoss4.0

2004-11-02 Thread Joel.Rosi-Schwartz
I am having the same problem. I am using Apache Derby. If this is a problem with their EmbeddedXADataSource I would like to file a bug report so that it gets addressed. It would be useful if I had more information to pass to them to help pin point the actual problem. Any suggestions would be gre

[JBoss-user] [Installation & Configuration] - start & stop JBOSS remotely

2004-11-02 Thread raheem
Hi , Anyone know about starting the JBOSS remotely. either through console or through run command. If anyone have the answer for this.Please give the solution. It will be a great help. Regards, Raheem View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Installation & Configuration] - changing jnp Port

2004-11-02 Thread aibo
Hello, I am using Jboss-4.0.0 and try to change the standard jnp-port(1099) to port 4. Therefore I made the following modifications within the jboss-service.xml file: 4 Anyway, I got the following error message: Failed to connect to localhost:1099 javax.naming.CommunicationException:

[JBoss-user] [Installation & Configuration] - Re: BindException: Address already in use: JVM_Bind question

2004-11-02 Thread aibo
Hi james, obviously, both servers try to use the same ports. e.g. namingService of server1 listens on port 1098 and server2 tries the same und you get those "JVM_BIND" errors. So check your configurations or post your configurations. View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Security & JAAS/JBoss] - Re: Security does work on jboss 4.

2004-11-02 Thread p_nevilleuk
"[EMAIL PROTECTED]" wrote : Create a bug report on sourceforge with the testcase your talking about. Authorization is distinct from authentication so a secured mdb needs to be run under an unauthenticatedIdentity since there is no standard way for the jms invocation to establish the security con

[JBoss-user] [Security & JAAS/JBoss] - isUserInRole does not work in jboss 4.0.0

2004-11-02 Thread Furykid
I am using basic authentication based on UsersRolesLoginModule which works fine for 3.2.x but doesnt work unter 4.0.0 none of my roles are accepted by a call to request.isUserInRole() logfile output seems ok ! org.jboss.security.auth.spi.UsersRolesLoginModule authentication returns loginOk=true

[JBoss-user] [Beginners Corner] - Re: Duke? problems with Jboss 4.0 on linux

2004-11-02 Thread hotstone
Hi Achim, thanx for the help. Now it works for me too. Kind regards Helmut View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853608#3853608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853608 --

[JBoss-user] [Beginners Corner] - How can I display th content of JSP page in html format

2004-11-02 Thread leets003
Dear all, I would like to know how can I show the content/result of JSP page in html page using Javascript. I found some web site use ASP to do th above case. It use javascript with ASP. Here is html content using ASP with javascript. **

[JBoss-user] [EJB/JBoss] - findByPrimaryKey overriding

2004-11-02 Thread leonidsh
hi! Can I override findByPrimaryKey method in cmp entity bean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853605#3853605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853605 ---

[JBoss-user] [EJB/JBoss] - Re: Entity Perfomance(The Proper way)

2004-11-02 Thread jamesstrachan
Presumably you are using CMP. My guess is that the client.getOrders().iterator() statement is getting a set of Primary Keys for the order. As you progress through the iterator, each order in turn is loaded in a separate SQL statement. So, for n orders, the application is making n+1 SQL operati

[JBoss-user] [Clustering/JBoss] - Re: MBean not running setCurrentState on restart

2004-11-02 Thread dave_dave
Does no reply mean that I am doing something that is obviously stupid? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853603#3853603 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853603 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Disabling Client authentification...

2004-11-02 Thread Schokoladenhase
Damit the forum scred up the xml code is there still no edit-button ? well i tried changing the port from 443 to 8443 producing no tls package but still no connection | | | | gtc.keystore | rmi+ssl | | | 443 | | org.jboss.security.ssl.RMISSLClientSocketFactor

[JBoss-user] [Security & JAAS/JBoss] - Disabling Client authentification...

2004-11-02 Thread Schokoladenhase
Hi guys... im a bit frustrated... Im calling a session bean from an applet - works fine... Now i have to pass that rmi communication over ssl. I changed the jboss-service xml like this: gtc.keystore rmi+ssl 443 org.jboss.secu

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute State and StateString

2004-11-02 Thread diripu
Thanks. Conclusion: So for ServiceMBean the number are different than the SMO. Here the attribure is "State". (Capital "S") For SMO( or j2ee.state.* events) ,the attribute is "state". (note small "s") I think for this the order number is like the below from 0-4. j2ee.state.starting j2ee.s

[JBoss-user] [Installation & Configuration] - jboss 4.0 and logging.

2004-11-02 Thread vava_h
Hi. How allow (or forbid) logging concrete package with log4j.xml? | | | | | | | | | | | | | | | That it is necessary to add in file log4j.xml to allow logging, only whole package org.apache in file apache.log. Conversely,

[JBoss-user] [EJB/JBoss] - CMR - with composite key

2004-11-02 Thread lameguy
I'm going over this article on CMR http://technology.amis.nl/blog/index.php?p=90&page=3. The following code demonstrates how XDoclet is used to establish relationship between two entity beans: | ... other stuff ... | /** | * | * | * @ejb.interface-method |

[JBoss-user] [The Lizzard's corner] - LGPL and JBoss Redistribution

2004-11-02 Thread praby
Under the JBoss licence (LGPL) can I take JBoss 4.0, strip out a whole load of the distribution I don't want (including source, jars I don't require, and J2EE services I don't require) and ship the resulting stripped-down version inside a commercial product? I understand that I would also need

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute State and StateString

2004-11-02 Thread [EMAIL PROTECTED]
Just look inside the source: | public interface ServiceMBean |extends Service | { |// Constants - | |/** The JMX notification event type for a service create state */ |public static final String CREATE_EVENT = " o

[JBoss-user] [Beginners Corner] - how to run a jsp page in jboss

2004-11-02 Thread amaresh_nk
I am a new user.I have written a jsp. can u please tell me where to place the jsp page so that I can compile and run that? my email is :: [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853593#3853593 Reply to the post : http://www.jboss.or

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute State and StateString

2004-11-02 Thread diripu
Where i would get the explanation and the corresponding number ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853591#3853591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853591 --

[JBoss-user] [Beginners Corner] - Is "rmiregistry" included in JBoss ? (Deployment of pure RMI

2004-11-02 Thread thoste
Normally, when I create a RMI client and a RMI server outside an application server I have to start a rmiregistry (in background) by entering rmiregistry & from the command line. Keep in mind that I am not talking of EJBs but of simple, pure rmi classses which communicate. Assume I deploy suc

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute State and StateString

2004-11-02 Thread [EMAIL PROTECTED]
StateString is just a string-fied representation of the State attribute, just to display something meaningful. I don't think the jboss state is the same as jsr77 defined state. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853589#3853589 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Attribute State and StateString

2004-11-02 Thread diripu
Hi Am confused with this two attributes(State and StateString). What is the relation between this attributes. In some MBeans it showing State=3 and StateString=Started. But According to JSR77 the SMO(StateManageable Object) state=3 means stopped... Thanks View the original post : http://

[JBoss-user] [Security & JAAS/JBoss] - Re: Does security work on jboss 4?

2004-11-02 Thread jgoyvaer
Hi, I've got the same role/principal problem with the dukes bank example on jBoss 4.0.0, using mySQL. Even after adding the "unauthenticatedIdentity" option. On HyperSQL after adding it, it runs just fine. Deploying the same application to mySQL causes in some cases the exception underneath. I

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-02 Thread MadMan
Hello, in my code I do the following: CtMethod[] oldMethods = cc.getDeclaredMethods(); CtMethod oldMethod = null; CtMethod[] newMethods = new CtMethod[oldMethods.length]; //first I insert the new method signatures for (int i = 0; i < oldMethods.length; i++) { oldMethod = oldMet

[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-11-02 Thread alvlim1982
Hi Chiba, Thanks for your reply. Currently we're using weblogic server to deploy our EJB. If we are to do the 2nd approach, means we're to modify the class loader of the EJB inside weblogic or maybe somehow create a new one to replace it (which I have no idea how to). Anyway, I guess I don't hav

[JBoss-user] [Installation & Configuration] - WARN [EjbModule] The Container Invoker session-webservice-i

2004-11-02 Thread jesper.matthiesen
I get this warning when deploying my EJB jar: WARN [EjbModule] The Container Invoker session-webservice-invoker (in jboss.xml or standardjboss.xml) could not be created because of java.lang.ClassNotFoundException: No C lassLoaders found for: org.jboss.net.ws4ee.server.EJBProxyFactoryImpl We wi

[JBoss-user] [Advanced Documentation] - Re: No access to JBoss online documentation

2004-11-02 Thread mzeibig4
I have the same problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853582#3853582 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853582 --- This SF.Net email is

[JBoss-user] [HTTPD, Servlets & JSP] - How do I set 3 context for one web module?

2004-11-02 Thread asdesai
How can we set 3 context for one web module in Jboss 3.2.5? In standalone tomcat I was able to do it by adding a 'Context ' element in server.xml of Tomcat. If we do the same changes in server.xml of integrated Jboss-Tomcat, it is not picking up contexts. Any idea, how can we do the same in Jb