[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-06-16 Thread nuwunuwu
Can not generate encoded password using IndentityLoginModule. I included jce.jar and jboss-jaas.jar, otherwise there was another exception. F:\jboss-3.2.4RC1java -cp C:\j2sdk1.4.1_03\jre\lib\jce.jar;F:\jboss-3.2.4RC1\cl

[JBoss-user] [Persistence CMP/JBoss] - Re: Erroneous Error Msg. When Hot-Deploying

2004-06-16 Thread loubyansky
Maybe you have another version of the bean class in the classpath? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838909#3838909 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838909

[JBoss-user] [Installation Configuration] - How to change Tomcat port if running multiple instances on o

2004-06-16 Thread CH
Hi folks, after searching and reading through a lot of posts here concerning the usage of multiple instances of jboss on one machine, i got so far to get the server accept a part of my configuration. based on the sampling-bindings.xml (in which i think the first example does not work - the

[JBoss-user] [Installation Configuration] - Re: How to change Tomcat port if running multiple instances

2004-06-16 Thread CH
humm. forgot some information (why can't i edit my post?) i am using jboss 3.2.3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838911#3838911 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838911

[JBoss-user] [Persistence CMP/JBoss] - Re: faulty error message (IllegalStateException)

2004-06-16 Thread loubyansky
Who calls setOwners() and from what method? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838912#3838912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838912 --- This

[JBoss-user] [HTTPD, Servlets JSP] - Re: Can i trap HTTP-403 error

2004-06-16 Thread mrgarageman
edit web.xml file. web-app ! -- Servlets definitions here -- error-page error-code403/error-code /errors/forbidden.html /error-page /web-app View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838913#3838913 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Is this a jboss bug (entity setter mehod)?

2004-06-16 Thread loubyansky
It does. But in this case relationship can't be modified because foreigm key is mapped to the primary key. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838914#3838914 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838914

[JBoss-user] [HTTPD, Servlets JSP] - Re: Can i trap HTTP-403 error

2004-06-16 Thread mrgarageman
sorry i forgot the location tag. it must be error-page error-code403/error-code /errors/forbidden.html /error-page View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838915#3838915 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Can i trap HTTP-403 error

2004-06-16 Thread mrgarageman
whoa i swear i included /errors/forbidden.html/location this message dont want me to include a location tag? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838916#3838916 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Two questions concerning what I see in my JBoss log.

2004-06-16 Thread loubyansky
1. no persistence for ModelMBean configurations. 2. it's connection pool's (not entity container's) logging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838921#3838921 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Re: problem with auto discovery - help required please

2004-06-16 Thread sreedevik
Thank you Volker .. It worked :- I had to start the jboss instance with --host option. Regards, Sreedevi. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838917#3838917 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: problem with auto-increment field and CMP bean

2004-06-16 Thread loubyansky
Do you set id yourself? What if you set IDENTITY_INSERT to ON? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838920#3838920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838920

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-16 Thread loubyansky
Could you post the code and deployment descriptors? In the last log only one thread is running or you didn't post other threads? If you have a testcase, send it me privately. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838918#3838918 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR relation on NOT NULL foreign keys

2004-06-16 Thread jimbrady
I've moved on to JBOSS 3.2.3 and now it is working (mostly!). However, I am sometimes getting wierd occasional errors that I guess are occuring as follows: Session Bean creates entity A and then related entity B in one transaction. Because entity A is only created at post-ejb-create the

[JBoss-user] [Beginners Corner] - Datasource and datasourcemapping for Firebird

2004-06-16 Thread bobo
Can somebody tell me what is my and in jbosscmp-jdbc for Firebirdand for JBOSS 3.2.3 and Firebird 1.5.For example for mysql is java:/mysqlDS and MySQL I need true answer not maybe or you can try there answers Thanks Please hurry with answer View the original post :

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread bobo
bobo wrote : Can somebody tell me what is my and in jbosscmp-jdbc for Firebirdand for JBOSS 3.2.3 and Firebird 1.5.For example for mysql is java:/mysqlDS and MySQL | I need true answer not maybe or you can try there answers Thanks | Please hurry with answer | | View the original

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss should give some sample applications to beginners!

2004-06-16 Thread darranl
What is wrong with the example you can work through as part of the getting started guide. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838927#3838927 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838927

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread darranl
anonymous wrote : Please hurry with answer Why should people hurry? Pay for support if it is that urgent. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838928#3838928 Reply to the post :

[JBoss-user] [Clustering/JBoss] - Suddenly a strange Exception

2004-06-16 Thread morenito9000
Hi all, I have used JBoss with no problems for several days, but now I suddenly get this strange exception when I restart JBoss (the exception is cyclicly thrown): DEBUG [org.javagroups.DefaultPartition] [Wed Jun 16 10:48:53 CEST 2004] [ERROR] UDP.handleIncomingUdpPacket():

[JBoss-user] [Beginners Corner] - Suddenly a strange exception

2004-06-16 Thread morenito9000
Hi all, I have used JBoss with no problems for several days, but now I suddenly get this strange exception when I restart JBoss (the exception is cyclicly thrown): DEBUG [org.javagroups.DefaultPartition] [Wed Jun 16 10:48:53 CEST 2004] [ERROR] UDP.handleIncomingUdpPacket():

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-16 Thread bentins
I can post the deployment descriptors no problem, what code would you like to see, it's a lot of code there is a bean factory that automatically copies from the bean to the TO using reflection, and there is the login trasaction logic. I ran it against 3.2.3 the same exact ear and it works no

[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-06-16 Thread Marlig
Hi, we are seeing the same exception with JBoss 3.2.4RC2. With JBoss 3.2.4 it seems to have changed to 2004-06-15 12:50:04,168 WARN [org.jgroups.protocols.UDP] discarded message from different group (). Sender was host:41639 (additional data: 19 bytes) Since we have two clusters running,

[JBoss-user] [Installation Configuration] - Time out when deploying a .sar in DR4

2004-06-16 Thread nusa
Hi, I just download the DR4, and build it. When I deploy a .sar file, I got the following error : 10:02:48,176 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/Java/Software/jboss-4.0.0DR4/server/default/deploy/ExtJNDI.sar 10:02:48,176 ERROR

[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-06-16 Thread morenito9000
The strange thing is that I haven't a cluster scenario: my JBoss runs on a single machine and it has never thrown a similar exception before now. Many thanks Moreno View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838936#3838936 Reply to the post :

[JBoss-user] [JBoss.NET SOAP] - Large message - Streaming?

2004-06-16 Thread mava
Hi Folks, I'm trying to send a large SOAP Message (about 700kb) from the server to the client. The message's origin is an EJB that is wrapped by JBOSS.NET. In general, this is working fine. My problem is, that it takes about 6 seconds from leaving the EJBs method to receiving the SOAP message

[JBoss-user] JBoss error.

2004-06-16 Thread khalid . chaudhry
Hi All, On restarting JBoss I get the following error: 10:01:10,463 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread triathlon98
I have been using Firebird for a long time now in connection with JBoss and it works fine. Now if I could only understand the question, then maybe I could help. In any case, look at JayBird documentation (Firebird JDBC driver), combined with the same datasource definition in the docs directory

[JBoss-user] [JBoss Getting Started Documentation] - Re: Compile of Duke's Bank app failed

2004-06-16 Thread Horus
Do you know where to change the classpath in the jboss-build.xml or is there another way to set the classpath variable permanently. Can you give me a detailled description? Greetz Mirko View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838939#3838939 Reply to

[JBoss-user] [Installation Configuration] - Re: Time out when deploying a .sar in DR4

2004-06-16 Thread nusa
I forgot to tell, that the same .sar file works fine under 3.2.4 Any help at all ? Thanks, nusa View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838940#3838940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838940

[JBoss-user] [EJB/JBoss] - Schedule an EJB method

2004-06-16 Thread khem
Hi, I have an EJB which contains a business method. I have deployed my EJB in JBOSS 3.2.3 and tested successfully with a simple client. Now I want this method to be schedulded with quartz but i don t know how to do this.. Can anyone give me more precision? thx in advance View the original

[JBoss-user] [Persistence CMP/JBoss] - unexpected problem with one to one relationship

2004-06-16 Thread raj_kumar
hello i'm using one to one unidirectional relationship between two entity beans but i'm not able to ... here primary key of the one table is the foreign key and primary key of second table . the stack trace is (Trace is enables ) | 2004-06-16 16:19:48,435 DEBUG

[JBoss-user] WAR deployment

2004-06-16 Thread khalid . chaudhry
Hi All, The set up that my company has in place caters for their two (JBoss) application servers. One is supposed to be a mirror image of the other and should in theory be identical. We have recently had problems with one of the servers and I wanted to run the unusual deployment process past

[JBoss-user] [Persistence CMP/JBoss] - Re: Optimistic Transactions Spanning Web Requests

2004-06-16 Thread hbjamil
anonymous wrote : I have this questions for Juha: | 1)When bean developer specifies version control attribute, does jboss update its value? | 2) If it does, then does jboss compare its value in Value Object Pattern scenario and throw any exception? If it does then what is the exception type?

[JBoss-user] [Installation Configuration] - Re: Application-specific log4j.xml settings

2004-06-16 Thread jimpo
anyone? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838944#3838944 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838944 --- This SF.Net email is sponsored by The

[JBoss-user] [Installation Configuration] - Re: URGENT- Classloader issue

2004-06-16 Thread wolfc
Do you still get the same exception? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838945#3838945 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838945 --- This SF.Net

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

2004-06-16 Thread ebende
Hi, I can tell the following on Read-ahead strategies. By default a find-method returns only the primary keys of the records from the DB. (SELECT PK FROM TABLE T; is carried out). Once you invoke a method of a single CMP-EJB (from the collection you got from the find-method) the remainder of

[JBoss-user] [Installation Configuration] - Re: URGENT- Classloader issue

2004-06-16 Thread meissa
you can fix this by setting the UseJBossWebLoader of the jboss-service of the jboss-web-tomcat.sar like this. false let me know if it does'nt work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838947#3838947 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Forcing XMBeans to update their persistant attributes?

2004-06-16 Thread chrisdutz
This sounds sort of very imperformant. If I have to do it that way. there is no need for having a Document type attribute. Then I should simply stor the text. I managed my XMBean to store Document-objects now. To load an xml-file into this attibute I added a managed operation to the XMBean

[JBoss-user] [Installation Configuration] - dtd filenotfoundexception after redeploy

2004-06-16 Thread jason.donovan
Following is my problem, but i think it is a general problem working with a any dtd and no internetconnection. I implemented struts validation, no problem so far, it works fine. JVM has no internet-connection so i placed the validator_1_0.dtd in the WEB-INF. Works fine when i deploy and

[JBoss-user] [Installation Configuration] - JBoss wont start Linux

2004-06-16 Thread JJman
I use jboss_init_redhat.sh as a startingscript, althought I changed name to jboss and put it in /etc/rc.d/init.d/ directory. When I type jboss start, it only prints out CMD_START=... and wont't start the server. All the paths and variables are ok. Do I have forgot to do something or what is

[JBoss-user] [EJB/JBoss] - Why dies the lookup function need the Home/Remote interfaces

2004-06-16 Thread chris75be
Hello, Here's what I do: //I use a properties file InitialContext ctx = new InitialContext(); Object obj = ctx.lookup(ejbName); I noticed that the lookup function fails if the client doesn't have the remote AND home interfaces. Why?? Thank you Christophe View the

[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-16 Thread rimmeraj
Excellent! So does JAAS now keep the Principal class the the server login module returns or do I have to ytell JASS which Principal class to use? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838955#3838955 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: ???? How to Deploy a .War file on JBOSS ????

2004-06-16 Thread kirkh
I've never used Tomcat in standalone mode, so I can't tell you for sure. My guess would be that the web.xml is the same (standard), and the server.xml would be the jboss-web.xml. However, every server has its own specific setup xml files that are completely different from every other server.

[JBoss-user] [JCA/JBoss] - Re: DBCP using Jboss ,Hibernate and PostgreSQL

2004-06-16 Thread spiritualmechanic
Set up PostgreSQL using the .xml in $JBOSS_HOME/docs/examples/jca. Then point Hibernate to the PSQL data source. (Look up documentation on how to set up Hibernate in JBoss. You'll find it on the Hibernate web site.) View the original post :

[JBoss-user] [EJB/JBoss] - Re: Schedule an EJB method

2004-06-16 Thread nickman
kehm; We do this by implementing a simple MBean which is an EJB client. Quartz will invoke an exposed operation on the MBean which in turn will look up the EJB Home, get the remote/local and call the method. If you have parameters that need to be passed, you could store them in the DB or an

[JBoss-user] [Persistence CMP/JBoss] - problem for 2nd table using CMP

2004-06-16 Thread madadi
Dear all, i am using jboss_3.2.1 and mysql-4.0.18 .as i am new to j2ee iam getting different type of errors. my database contains 2 tables.personal_data and specific_data. personal_data look like... mysql describe personal_data; +--+-+--+-+-+---+ |

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

2004-06-16 Thread jscalio
Thanks! I'll try your suggestion. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838965#3838965 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838965 --- This SF.Net

[JBoss-user] [Persistence CMP/JBoss] - Re: No rollback of inserted data?

2004-06-16 Thread mlehradt
Thanks all for your replies. After I read the EJB 2.0 specification, I can understand why the transaction is not rollbacked automatically (If everything else failed, read the documentation... ;)). I am nevertheless somewhat unsure how I should handle exceptions. I surrounded critical sections

[JBoss-user] [Installation Configuration] - Debug messages in Log

2004-06-16 Thread amenosse
Hi, I'm using JBoss3.2.4 and it is generate a lot of debug messages in Log. How can I disable debug messages ? Thanks. Andr Menosse. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838968#3838968 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: No rollback of inserted data?

2004-06-16 Thread dannyyates
Java broadly divides exceptions into two types: checked and unchecked. Unchecked exceptions derive from RuntimeException or Error. Everything else is a checked exception. Checked exceptions are the ones that the compiler forces you to either catch or else declare with a throws clause in your

[JBoss-user] [EJB/JBoss] - ejbRemove with commit A causes foreign key violation

2004-06-16 Thread pollentierc
Hi all, I have the following problem with CMP2.0 beans: We are currently using the 'Instance per Transaction' container configuration, but we are trying to move to a container with caching and commit option A. I have the impression that JBoss does not always handle the referential inegrity

[JBoss-user] [Beginners Corner] - EJB not committing

2004-06-16 Thread u9707118
OK, let me first say that I am really new to JBOSS - so I'm probably doing something really stupid... In my code, I have a loop that creates a series of EJB's. In order to find a unique id, I use an sql statement to find the highest value primary key (say 6) and I increment by one (7). This

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-16 Thread brightsunny2020
Thanks dannyyates Yes, I read JMS Spec and I set the delivery mode to PERSISTENT also Thanks Sunny View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838972#3838972 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838972

[JBoss-user] [Persistence CMP/JBoss] - Berkeley DB XML integration

2004-06-16 Thread aonnen
Hello, Today we are working on a big project made of heterogenous technologies and specifically Jboss. I have to integrate Berkeley DB XML with the transaction ability. I've read MySQL is a good JDBC Driver for Berkeley DB and that JCA 1.5 could be needed So I'm a little confused now. What do

[JBoss-user] [Installation Configuration] - NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
I am trying to deploy a couple of ejb's in the container. I am getting the following backtrace when deploying... 11:14:29,644 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=rns/Rmdhist,service=EJB RuntimeErrorException: java.lang.NoSuchMethodError:

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-16 Thread dannyyates
OK. I assume it still doesn't work? Are you setting the PERSISTENT property CORRECTLY? I vaguely recall there are two ways to do it. What works for me (although it appears to contradict the Javadoc for QueueSender) is to set the property on the Message immediatly before calling

[JBoss-user] [Clustering/JBoss] farming problem with trivial webapp

2004-06-16 Thread Guido Guenther
Hi, To test farming I have set two JBoss 3.2.4RC1 instances on a single machine using the ServiceBindingManager and the all config. Both instances start up fine and are seeing each other. When I now dump a simple .war into lb1/farm/ the webapp is being deployed and available on the node where I

[JBoss-user] [Installation Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread jae77
you have a copy of bcel.jar somewhere else on your classpath. check the lib/endorsed directory under your jdk install directory to see if it's lurking there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838977#3838977 Reply to the post :

[JBoss-user] [Installation Configuration] - JBossNS NamingServer SSL

2004-06-16 Thread nickshah
We have a java client connecting to jndi on port 1099. Is it possible to define client and server sockets factories for SSL? I have attempted to define attributes clientsocketfactory serversocketfactory with values RMISSLClientSockeFactory and RMISSLServerSocketFactory resp in

[JBoss-user] [Installation Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
Nope... cd $JAVA_HOME find . -name *.jar ./jre/lib/ext/sunjce_provider.jar ./jre/lib/ext/dnsns.jar ./jre/lib/ext/localedata.jar ./jre/lib/ext/ldapsec.jar ./jre/lib/sunrsasign.jar ./jre/lib/jce.jar ./jre/lib/security/US_export_policy.jar ./jre/lib/security/local_policy.jar ./jre/lib/jsse.jar

[JBoss-user] [Installation Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread ddurkin
look in the /jre/lib/endorsed/xalan.jar I think I remeber seeing some versions that had bcel classes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838980#3838980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838980

[JBoss-user] [HTTPD, Servlets JSP] - Website deploy problem

2004-06-16 Thread juduf24
Hi, I have a problem deploying websites. My server is running apache 1.3.28 and jboss(tomcat) 3.2.3 and i would like to set them up together so user can access my website by doing a : http://80.92.68.122 I have put into jboss/default/deploy/ the .war of the website: ac.war In a brother :

[JBoss-user] [Installation Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
Yup. it's the xalan with bcel stuff in it. Thanks everyone for the quick replies... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838982#3838982 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838982

[JBoss-user] [Beginners Corner] - Re: EJB not committing

2004-06-16 Thread gorano
I don't know what your implementation looks like , but I think you have to very careful with the approach you have taken. Create a separate UniqueID table instead, that keep track of the Ids. /G View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838983#3838983

[JBoss-user] [Management, JMX/JBoss] - questions about JMX on JBoss2.4.8

2004-06-16 Thread davidchen
Hi, there: As a newbie to JMX, I have some questions about JMX. We are using JBoss2.4.8 currently. 1. how to access jmx-console on JBoss2.4.8? if using JBoss3.x I can access jmx-console through localhost:8080/jmx-console; but I know know where is jmx-console on JBoss2.4.8. 2. how to stop and

[JBoss-user] [Management, JMX/JBoss] - JBoss 3.2.4 monitors ( ClassCastException )

2004-06-16 Thread dhan
Hi, I'm using jboss-3.2.4 and whenever I call getObservedObjects() on operation Monitor, it throws ClassCastException. Looking at the Monitor.java source code, it looks like there's a bug in getObservedObjects() operation. It basically creates a HashSet of keys(ObjectNames) and later try

[JBoss-user] [Management, JMX/JBoss] - Re: questions about JMX on JBoss2.4.8

2004-06-16 Thread [EMAIL PROTECTED]
1. The equiavlent of the jmx-console is the htmladaptor which resides at http://localhost:8082/ 2. You don't. 2.4.x does not support redeployment of mbeans. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838986#3838986 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Debug messages in Log

2004-06-16 Thread amenosse
Ok, kirkh. I changed the log4j.xml, but the debug messages are in log yet. Rebember that I'm using JBoss 3.2.4 (Default). I search this configuration in all objects but I didn't find it. What more can I do ? Thanks. View the original post :

[JBoss-user] [Installation Configuration] - can you specify war/ear deployment dependencies as with MBea

2004-06-16 Thread berkgypsy
We are breaking up our deployment so that our war sits outside the ear file that contains ejbs the war is dependent on. Unfortunately this means that the war is trying to deploy before the ear file, and this breaks. It looks like we could create a new Deployment object to handle this, but is

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-16 Thread jamesstrachan
Brace yourselves, here is the complete code :- | //Package: Security Objects | //Class:SecurityRoleSetBean | //Version: 1.0 | //Copyright:Copyright (c) 2002 | //Author: James Strachan | //Company: Milton Software Components | //Description: Entity

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Subscribe to JBoss MQ Topic from .NET client?

2004-06-16 Thread fawce
The csil client works well for subscribing to topics. The version in cvs right now can process messages quite rapidly, despite the overhead of encoding the jms messages into xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838990#3838990 Reply to the post

[JBoss-user] [Installation Configuration] - JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread mgaert
Hello, we have set up HTTP and JNDI tunneled over http all right for a Swing-based fat client. The last piece would be to allow the client to not use HTTP directly but to connect through an HTTP proxy on the client side (i.e. squid or pound). Any idea where I can specify a HTTP Proxy in the

[JBoss-user] [Installation Configuration] - Re: JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread mgaert
Sorry, that should be EJB access and JNDI that we have set up all right. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838992#3838992 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838992

[JBoss-user] [HTTPD, Servlets JSP] - Re: MBean Error when starting Tomcat with JBoss 3.2.4

2004-06-16 Thread rimmeraj
Did you figure this out? I am having the same problem... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838993#3838993 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838993

[JBoss-user] [Persistence CMP/JBoss] - Re: Erroneous Error Msg. When Hot-Deploying

2004-06-16 Thread [EMAIL PROTECTED]
BINGO! thank you for your help, alexey. i had an old .ear from when i had used this project as a template/start for a new project ... and when i deleted that .ear file (which included old versions of VendorContactXXX.java), this particular problem of mine with hot deployment was resolved.

[JBoss-user] [HTTPD, Servlets JSP] - Re: MBean Error when starting Tomcat with JBoss 3.2.4

2004-06-16 Thread michael_lacy
http://jboss.org/index.html?module=bbop=viewtopict=50602 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838997#3838997 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838997

[JBoss-user] [Installation Configuration] - run.bat shutdown.bat do not represent latest versions

2004-06-16 Thread newtonm
I've just been looking through the run.bat and shutdown.bat files that came with the jboss-3.2.4.zip download. As they still contain lines referencing the %ARGS% variable I think that the following bugfix has been left out of the build. [ 840239 ] run.bat does not parse arguments containing =

[JBoss-user] [Management, JMX/JBoss] - Re: questions about JMX on JBoss2.4.8

2004-06-16 Thread davidchen
Thank you very much Scott for immediately reply. some more questions: MBean jar file must be deployed to lib/ext directory in jboss2.4.8? does reload in jmx-console will start that MBean again? and does unregister in jmx-console will stop that MBean (call stop() function of that MBean)? Thanks

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-16 Thread davidchen
Thanks a lot James for your help and very clearly sample codes. David View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839000#3839000 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839000

[JBoss-user] [EJB/JBoss] - Update problems calling an entity bean from a session bean

2004-06-16 Thread raf
I'm facing strange update problems using an entity bean inside a session bean. Here is the scenario. I'm using JBoss 3.2.3 I call an entity bean named TestBMPEntity mapping an existing record on the database with id=6 from a session bean. I'm using the following client code:

[JBoss-user] [Messaging, JMS JBossMQ] - messagecache and network failure

2004-06-16 Thread fawce
Hi, I am running a jboss3.2.2 instance, with about 15 clients connecting to jbossmq. I am monitoring the number of messages in the cache using the messageCache MBean properties. In addition, I am monitoring the number of non-durable messages, and the number of subscribers, for each topic I use

[JBoss-user] [JCA/JBoss] - Re: ClassCastException retrieving DataSource on JNDI lookup

2004-06-16 Thread gouvea2
I need javax.sql.DataSource in my deployment in order to assembly a list of Value Objects via JDBC instead of query the database through EJB-QL. I also need certain degree of isolation because our deployment lives with legacy releases of our application in the same container. We never had

[JBoss-user] [JBoss.NET SOAP] - can't understand my ClassNotFoundException

2004-06-16 Thread berkgypsy
I have glue 5.0.1 hosted in JBoss3.0.0. Deploying the exploded war works. I have my glue.jar which contains all glue classes in the WEB-INF/lib directory. When I try to access a wsdl for a service, I get this exception: java.lang.NoClassDefFoundError: electric/util/mime/MIMEData at

[JBoss-user] [JCA/JBoss] - Re: Getting a sar to depend on a jdbc connection

2004-06-16 Thread crosenbury
OK, I finally figured it out. Here is what I had to do: in the service.xml file, I had to add the following: | dependsjboss.jca:service=RARDeployer/depends | dependsjboss.jca:service=LocalTxCM,name=jdbc-name/depends | I had tried this, but had the service/name

[JBoss-user] [EJB/JBoss] - How to deploy an EJB?

2004-06-16 Thread Horus
I don't know exactly how to deploy an EJB. I get the fallowing error while deploying: Error during deploy; - nested throwable: javax.naming.NamingException: ejb-ref: ejb/cmproster/roster, no ejb-link in web.xml and no jndi-name in jboss-web.xml my web.xml: web-app

[JBoss-user] [Persistence CMP/JBoss] - Problems with Roster-GUI?

2004-06-16 Thread Horus
For a part of a project I need to use a graphic UI of the RosterExample. Do you know, whether such application is already available somewhere or can you give me some advise how to solve this problem? Greetz Mirko View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Problems with Roster-GUI?

2004-06-16 Thread Horus
of course I want to create some JSP application and I don't have any idea how to get rid of some stupid compiler errors View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839008#3839008 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: log4j org.apache.log4j.net.SMTPAppender

2004-06-16 Thread yacout
Hi, I have the same error in linux, have you find any solution ? Thanks lazarusli wrote : Hi, Kevin, | I have that same problem too... | | When I turn on the SMTP appender, I will get the following error: | | | java.lang.NoClassDefFoundError: javax/mail/Multipart | | at

[JBoss-user] [EJB/JBoss] - Re: getEJBLocalObject

2004-06-16 Thread ccajina
I think that what you're tryin' to do is implemented in the examples from the Professional Struts Applications book... you might want to look @ the source code from the book and pay special attention to the ServiceLocator pattern implementation. Good Luck! PS: you can also try the

[JBoss-user] [J2EE Design Patterns] - Re: Generate a Business Delegate and ServiceLocator

2004-06-16 Thread ccajina
Try the EJB Design Patterns book (free download @ TheServerSide) and/or Professional Struts Applications source code (also avaliable online from Wiley or Apress, don't remember) You'll have to code most of it, but it will give more control and understanding of how things work. Good Luck! View

[JBoss-user] [J2EE Design Patterns] - Re: Generate a Business Delegate and ServiceLocator

2004-06-16 Thread nickman
We have a ServiceDelegate which returns a proxy as follows: | public static Object getServiceDelegate(String jndiName) throws NamingException { | ServiceDelegate sd = new ServiceDelegate(jndiName); | return Proxy.newProxyInstance(sd.getLocal().getClass().getClassLoader(), |

[JBoss-user] [Installation Configuration] - Re: JBoss3.2.3 error when using Xalan 2.6 and Sun VM 1.4.2_0

2004-06-16 Thread dgbuss
I had the same problems using the new Xalan jars. Thanks for posting the solution! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839018#3839018 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839018

[JBoss-user] [Installation Configuration] - error beginning Jboss

2004-06-16 Thread asancho
I have win98 C:\JBoss\binrun Error de sintaxis Error de sintaxis JBOSS_CLASSPATH=C:\JBoss\bin\run.jar;run.jar;../lib/crimson.jar;run.jar;../lib. help me please View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839019#3839019 Reply to the post :

[JBoss-user] [EJB/JBoss] - 3.2.4 , MDB deplyoment - DefaultJMSProvider not bound

2004-06-16 Thread Rolf
Hi Well I tried to deploy a MDB into 3.2.4 and cause following erros (See below) Yes I did search this forum and I did check if the RecursiveSearch attribute is set to True but 3.2.4 still comes up with the same erros. Any suggestions ? //Console 01:52:54,140 INFO [EjbModule] Deploying

[JBoss-user] [EJB/JBoss] - Re: 3.2.4 , MDB deplyoment - DefaultJMSProvider not bound

2004-06-16 Thread Rolf
Mmmh restarted JBoss and suddenly it was working ? Cheers Rolf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839026#3839026 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839026

[JBoss-user] [Security JAAS/JBoss] - Dynamic login configuration

2004-06-16 Thread cbrettin
As fas as the documentation went I thought this was impossible, but after a search though config files and source code I found out how to do this. I've added a page to the wiki: http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig (.. somebody is bound to tell me that it was obvious) C

[JBoss-user] [Clustering/JBoss] - Problem with No Passivation Policy for Clustered Stateful se

2004-06-16 Thread sreedevik
Hi, I have configured NoPassivationPolicy for Clustered Stateful SessionBean container and Standard Stateful SessionBean container in all/conf/standardjboss.xml Still I observe that ejbPassivate() is being called. And this I observe only in the clustered setup. It is my requriement that the

[JBoss-user] [JCA/JBoss] - Re: DBCP using Jboss ,Hibernate and PostgreSQL

2004-06-16 Thread ManoharReddy
Dear Steve, Thank you very much for your timely response. But i am not able to find postgres-service.xml to map. i am finding only postgres-ds.xml. But in this file i can't map as you suggested. Can you clarify me on this. Regards, Manohar View the original post :

[JBoss-user] [Persistence CMP/JBoss] - getting null cmr properties

2004-06-16 Thread ittay
hi, we sometimes encounter a problem where foo.getBar() returns null (where foo and bar are cmp entity beans), but the relationship exists (and it is static, never changes) we're using jboss 3.2.0 and mysql 3.23.56 thanx, ittay View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: NullPointerException from jboss while loading a CMR

2004-06-16 Thread ittay
can you explain why i should put the home and interface in the ejb-class section? do you know how i can do it with xdoclet? thanx, ittay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839032#3839032 Reply to the post :

  1   2   >