[JBoss-user] [Beginners Corner] - Re: Multiple databases

2005-09-25 Thread LIRA
Thanks raja! If I understand you right you should put one entry for each customer entity bean in the jboss.xml file with different jndi-names. Is that right? How do you allocate entity pool instances? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897011#389

[JBoss-user] [Beginners Corner] - Re: Problem Servlet Communicating with Session Bean in JBoss

2005-09-25 Thread ethomas.joseph
Thanks, but my method isn't abstract. My Home Interface: package tutorial.interfaces; | | public interface FiboHome extends javax.ejb.EJBHome | { | public tutorial.interfaces.Fibo create() |throws javax.ejb.CreateException,java.rmi.RemoteException; | } Here is my Remote

[JBoss-user] [JCA/JBoss] - in trouble! need help

2005-09-25 Thread zzl886
i have finished a app for searching in tomcat ,now i need deploy it in jboss. so i change the search to search.war.and copy to the path c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has been editted and the datasource name is "jdbc/hello" then a archive the jdbc driver

[JBoss-user] [Installation, Configuration & Deployment] - in trouble ,need help.

2005-09-25 Thread zzl886
i have finished a app for searching in tomcat ,now i need deploy it in jboss. so i change the search to search.war.and copy to the path c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has been editted and the datasource name is "jdbc/hello" then a archive the jdbc driver

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - in trouble! need help

2005-09-25 Thread zzl886
i have finished a app for searching in tomcat ,now i need deploy it in jboss. so i change the search to search.war.and copy to the path c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has been editted and the datasource name is "jdbc/hello" then a archive the jdbc driver

[JBoss-user] [Beginners Corner] - in trouble! need help

2005-09-25 Thread zzl886
i have finished a app for searching in tomcat ,now i need deploy it in jboss. so i change the search to search.war.and copy to the path c:\jboss\server\default\deploy,and put a sybase-ds.xml to the path,which has been editted and the datasource name is "jdbc/hello" then a archive the jdbc driver

[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: UserTransaction not

2005-09-25 Thread gunjan_iitk
Hi Dhananjay, I think tehr eis some problem while you posted the above 2 messaqges Please check. Thanks Gunjan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897004#3897004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation, Configuration & Deployment] - Re: War Classloader Issue

2005-09-25 Thread jaikiran
Have a look at the "Using your own log4j.xml file - class loader scoping" section at : http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897002#3897002 Reply to the post : http://www.jboss.com/index.html?module=b

[JBoss-user] [EJB/JBoss] - Configure lazy initialization of stateless session beans

2005-09-25 Thread achetan
Hi all, I am using JBOSS 4.0.2 . Actually , when home.create() method is called , only proxy object is created in Previous JBOSS versions but with JBOSS 4.0.2 , its actually creating bean instances also. Is there any configuration parameter in jboss through which lazy initialization of statel

[JBoss-user] [Installation, Configuration & Deployment] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-09-25 Thread achetan
Hi , I am also getting same problem which is in discussion. Please suggest me if you are able to figure out lazy init for SLSB in JBOSS 4.0.2 or any other work around. Thanks and regards Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897000#3897000

[JBoss-user] [Installation, Configuration & Deployment] - Having trouble using an ear and an external war

2005-09-25 Thread pmoran
I have the core application deployed in an ear file and the UI in a war file. When the war is inside the ear all works fine. When I deploy them separatly I get a blank page. Besides removingthewar from the ear the only other change is that I remove the web module entry in the application.xml fi

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HTTP error 404 customisation

2005-09-25 Thread thanukshad
Another help is needed.. Is there a way to catch the typed errornous url within the redirected error page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896993#3896993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=38969

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HTTP error 404 customisation

2005-09-25 Thread thanukshad
Thank u very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896991#3896991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896991 --- SF.Net email is sponsored b

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - NullPointerException when startup Hibernate Service

2005-09-25 Thread gnokit
Hi all i am using JBoss 4.0.2 with following configuration commons-collections-2.1.1.jar is put at jboss\server\default\deploy\jboss-hibernate.deployer jboss\server\default\deploy\hibernate-service.xml | | | | | | | | | | | | | java:/MSSQLDS |

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Security Assocaition Valve

2005-09-25 Thread tu_gupta
Hi all, I am newbie to jboss AS. I have recently deployed web application on the JBoss Application Server. When I check the log files I see the following error infinite times. This error is not affecting any functionality of the web application. What possibly can be the cause of the error ?

[JBoss-user] [Installation, Configuration & Deployment] - OutOfMemory after application exception

2005-09-25 Thread javatwo
I am using JBoss 4.0.3RC1. I often encounter OutOfMemory exception so that I have to restart JBOSS. I set the JVM max memory to more than 800M. I am sure it did not reach the limit. The exception usually happened after several exceptions from my application. Is this a bug? Thanks. View the orig

[JBoss-user] [EJB/JBoss] - help..finder exception..urgent

2005-09-25 Thread kingcool1432
hi, i`m using jbuilder 2006 to deploy thru jboss.. when i deploy i get the following error : C:\Borland\JBuilder2006\jdk1.5\bin\javaw -classpath "C:\Documents and Settings\Naren\jbproject\meApp\classes;C:\Documents and Settings\Naren\My Documents\downloads\jboss-4.0.2\jboss-4.0.2\client\activa

[JBoss-user] [Clustering/JBoss] - Performance

2005-09-25 Thread pure
Are there any benchmarks testing different loadbalancing options. Hardware, mod_jk or others? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896973#3896973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896973 --

[JBoss-user] [JBossCache] - Re: TreeCacheListerner use case question ?

2005-09-25 Thread ctof
yes, i have read the code of TreeCache and TreeCacheAop and i have implemented the nodeModify callBack and this method is called many time for the same modification. another pb is we can not make the difference between node which has been created (modified the first time) and another modificatio

[JBoss-user] [JBossWS] - Clustering Webservices

2005-09-25 Thread pure
We have planned to use a deploy our webservices as a cluster. I have looked in to the options of having a Http loadbalancer like apache or hardware. We have stateless session beans exposed as webservices and we have the session built in to the business logic wich means that we pass parameters wit

[JBoss-user] [JBossWS] - Re: Working from WSDL

2005-09-25 Thread pure
Thanks for all replys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896957#3896957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896957 --- SF.Net email is spon

[JBoss-user] [Clustering/JBoss] - cluster windows 2 nodes single machine

2005-09-25 Thread tomerbd2
Hi I'm starting up 2 nodes in a couple of windows machines (on each windows a cluster with its own partition name composed of 2 nodes for test purposes). The strange thing is that on some this would succeed and on some not. By success i mean that one node recognizes the other and by fail i me

[JBoss-user] [JBossWS] - Re:

2005-09-25 Thread pure
I havent done it but im going to do it soon on all our services. I think it is: wscompile -import -keep View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896955#3896955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389695

[JBoss-user] [JBoss Portal] - JBoss Portal & Jetty

2005-09-25 Thread rafcio
Hi, it's possible to user JBoss Portal with Jetty? Cause we don't use Tomcat. Best Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896950#3896950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896950

[JBoss-user] [Clustering/JBoss] - HTTP Session Failover - Can it be triggered by the tomcat JV

2005-09-25 Thread tweise
Apache mod_jk has a failover capability when the target tomcat server is down (not responding on the AJP port). But is there a way to trigger failover when tomcat is still up but the process is dead for all practical purposes of the application (JVM responsive on the AJP port but the application

[JBoss-user] [Beginners Corner] - JBoss & callbacks

2005-09-25 Thread pogromcaklusek
Hi, I've question - how do you implement callbacks (event listeners) using JBoss & EJB? I mean case, where server is event source, and client is an listener. I think there is a great place for AOP & JBossRemoting, I wanted to implement such aspect, but before, I want to ask if there is any exi

[JBoss-user] [Beginners Corner] - Loading optimization of Dtos / CMR Relations with JBuilder?

2005-09-25 Thread svewap
Hi, i have a problem with jbuilder, i think. there are no other forums in which i can post, so i hope, someone can help me here. If i create cmp entity beans, jbuilder creates automatically DTOs for each entity bean and creates DtoAssembler with creatDto - methods. In these createDto-methods jbu

[JBoss-user] [JBoss Portal] - Re: jboss jboss-4.0.3RC2/Portal Forum/Postgresql

2005-09-25 Thread svan9420
Certainly!! ALTER TABLE portal.jbp_forums_posts ALTER jbp_text TYPE text; I have my all my portal tables in the schema called portal. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896934#3896934 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d

2005-09-25 Thread [EMAIL PROTECTED]
I have updated the jackrabbit-core jar in thirdparty and the repository config. I also logged it in the jackrabbit jira: http://issues.apache.org/jira/browse/JCR-222 (The repo config change is not related) You will have to delete the /data/portal directory and do a clean build/deploy for the c

[JBoss-user] [Beginners Corner] - Re: deploying dll & lib

2005-09-25 Thread anguyen
Try setting -Djava.library.path=path/to/dlls as a JVM argument. If you use the JBoss startup scripts, you can set this in either run.bat/run.sh or run.conf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896929#3896929 Reply to the post : http://www.jboss

[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d

2005-09-25 Thread [EMAIL PROTECTED]
I narrowed it down to a change in the xml-api.jar from JBoss AS 4.0.2 to 4.0.3RC2. It resides under /server/lib/endorsed. If you swap that out with the one from 4.0.2 it creates the directory, but that is not a valid option. It is a cange from I debugged the jackrabbit code and it fails here:

[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not

2005-09-25 Thread darranl
Sorry, I have just looked at the fix further. The fix was to report the correct exception if there was a failure during initialization - it was not to allow circular initialisation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896926#3896926 Reply to the p

[JBoss-user] [Installation, Configuration & Deployment] - Re: Is hot swap possible in JBoss4?

2005-09-25 Thread darranl
There were some discussions recently about getting code within classes to be replaced when debugging with Eclipse, I can't remember the outcome on if this worked or not. JBoss does support hot deployment, this means if you replace a deployed archive in the deploy folder the old deployment will

[JBoss-user] [Installation, Configuration & Deployment] - Re: Innstalling in a no graphic environment

2005-09-25 Thread darranl
There is information here: - http://www.jboss.com/products/ejb3 On how to install EJB3 with JBoss by hand. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896924#3896924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Installation, Configuration & Deployment] - Re: Unable to install the eclise IDE

2005-09-25 Thread darranl
"dharraj" wrote : | I am running eclipse 3.1. I am trying to install the eclipse IDE by following the steps as mentioned in your install guide. | The instructions in the installation guide are for Eclipse 3.0 not 3.1. You will need to download the 1.5M3 (Milestone version) to use with 3.1

[JBoss-user] [Beginners Corner] - Re: Creating a WS with Eclipse - JBossIDE in J2EE

2005-09-25 Thread darranl
Are you sure you are using JBoss-IDE? If so do you know which version it is? I have been trying to reproduce your steps but do not have the same options as you are seeing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896922#3896922 Reply to the post : ht

[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not

2005-09-25 Thread darranl
I have found the JIRA issue I was talking about: - http://jira.jboss.com/jira/browse/JBAS-1804 This should be fixed in the 4.0.3 release due out. However you should be aware that even if this works for JBoss not the specifications do not say anything about lazy initialisation so you could have

[JBoss-user] [Beginners Corner] - Multi threaded schedular

2005-09-25 Thread mittal.neeraj
I am new to JBoss, writing application which requires tasks to be scheduled. all the tasks are time consuming, may take 3 mins each. Earlier I planned to use javax.management.timer.Timer for scheduling, but long running taks are problem as they are executed in sequence. Can you please suggest m

[JBoss-user] [JBoss Portal] - Re: jboss jboss-4.0.3RC2/Portal Forum/Postgresql

2005-09-25 Thread [EMAIL PROTECTED]
by the way, could you give us the comomand you executed to migrate the column with the postegres specific sql ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896916#3896916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JBoss Portal] - Re: jboss jboss-4.0.3RC2/Portal Forum/Postgresql

2005-09-25 Thread [EMAIL PROTECTED]
that is fixed in the latest release 2.0.1 RC2, you should use that release. beside that, the forum is much more complete feature wise, a real pleasure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896915#3896915 Reply to the post : http://www.jboss.com/ind

[JBoss-user] [Beginners Corner] - deploying dll & lib

2005-09-25 Thread wxyz
I have my application deployed in jboss server that depends on some thirdparty jar, lib and dll files for execition. My application works if I manually add the directory containing jar, dll, and lib to the Path environment variable. But fails if I remove the directory from path. My build file

[JBoss-user] [Management, JMX/JBoss] - Re: Send mails from MBean

2005-09-25 Thread raja05
There should be a mail-service.xml in the deploy directory jsut for this purpose. You can bind to the JNDI name for the mail services which is java:/Mail. It binds the JavaMail Session to this name which can be used in client applications. Just make sure that your mbean depends on mail-service

[JBoss-user] [JBossCache] - Re: Problems with persistent cache

2005-09-25 Thread nimrodr
I also have this problem. The entries do not get deleted when there is a heavy load of cache activity. Everything works fine when the load is not heavy. I think it makes the FileCacheLoader unusable for me. Any solutions? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Sudden and unexpected shutdown of JBoss

2005-09-25 Thread raja05
There are quite a few reasons why this could happen 1. Some TERM signal sent to the jboss jvm. 2. Space constraints on that box, for e.g. jboss trying to write to a temporary location and not able to do it. are there any environmental changes that you suspect could cause this? View the original

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Encoding problem -- looks like a bug

2005-09-25 Thread raja05
Hmm, that doesnt seem to be the case. Jboss by default uses the file.encoding value to be UTF-8, so you shoudnt even need to set the request to be UTF-8. I created a simple webapp which has a form with a textfield, submit which goes to a servlet, where i print back the value to the screen . En