Re: [JBoss-user] [EJB/JBoss] - Re: Help stuck with JBoss 4.0.2 and MySQL 4.1.13

2005-07-27 Thread Allan Kamau
Surely your ejb-jar.xml file and probably jbosscmp-jdbc.xml files have errors. XML errors and errors caused by the xml not conforming to the .dtd. For example, you have a string "False" after the closing and your ejb-ql tag should enclose the query-method tag. I'd suggest going through your xml an

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP Deployment Problem in jboss-4.0.2

2005-07-27 Thread pittupgd
Have you mapped the datasource in mysql-ds.xml and jbosscmp-jdbc.xml? If yes please check for the mapping. Also if you could post these files it would be great View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886993#3886993 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss Portal] - Re: Unable to start JBoss Portal, jboss.jca:service=DataSour

2005-07-27 Thread bdaw
I had similar problem with portal 2.0 sources I got from cvs few days ago (while earlier it was ok with same installation steps). I haven't tried with mysql yet but with hsqldb I just copy (or rename to it) portal-ds.xml instead of portal-hsqldb-ds.xml and it works. View the original post : h

[JBoss-user] [Beginners Corner] - BMP?

2005-07-27 Thread kulasekhar.m
What are the configuration files to be modified in order to deploy a BMP with Oracle 9i using JBoss? Please tell me their path also and the directory structure of the EAR file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886990#3886990 Reply to the post :

[JBoss-user] [JBoss Portal] - .war deployment using ant 1.6 to JBoss

2005-07-27 Thread matw
Hi, I am trying to deploy my portal project as a .war file to JBoss (The latest binaries available), but the portlets are not being loaded (i can access the portal pages but no portlets show). I am using ant 1.6 to build. I have tried creating .war archives of the helloworld demo source and it d

[JBoss-user] [Clustering/JBoss] - Re: New to clustering

2005-07-27 Thread nitinjain
Thanks for help. I'm successfully able to set up the clustering environment on a single machine. The only thing that i'm not able to set up is the method of clustering. Is their any way to configure the method it should use, 1) Round-Robin, 2) First Available, and, 3) First AvailableIdentica

[JBoss-user] [Security & JAAS/JBoss] - Re: Selective access to application running on JBoss!

2005-07-27 Thread maddy121179
.But do i need to define my own login page even if i want BASIC authentication only ? I guess that standard login window will be provided by the browser itself.and what kind of security constraints do i need to define in web app url(and also in web.xml) to mark it as "secure".. As f

[JBoss-user] lib directory gettting deleted

2005-07-27 Thread jagadish gowda
HI All, I am facing one problem, After restart of my system, lib directory is gettig deleted. Does anybody have faced this problems. it is not consistant, It happens very ralery. Almost 2 months back I faced this problem and now. If any of you have had this problem and know the solution pl

[JBoss-user] [Beginners Corner] - Help on using Jboss 4.0.2 and MySQL 4.1.13

2005-07-27 Thread pittupgd
Hi Everyone, Can anyone tell me the steps for deploying a CMP bean on jboss 4.0.2 and MySQL 4.1.13. If anyone can give me a sample of the ejbCreate method along with the ejb-jar.xml and jbosscmp-jdbc.xml it would be of great help. Thanks a lot to all of you out there on the forum. With R

[JBoss-user] [JBoss Portal] - Re: DivDecorationRenderer.java

2005-07-27 Thread matw
Ive thought about the maximise and minimise features and have some possible solutions. When you maximise a portlet, your renderer should create HTML markup inside the "COLUMN" (DIV tag which is defined in the layout jsp) where that portlet exists. What we can do (i hope, havent fully tested it)

[JBoss-user] [EJB/JBoss] - EJBQL generate wrong SQL

2005-07-27 Thread [EMAIL PROTECTED]
Hi. I use Lomboz eclipse 3.1 (Build-20050722) to develop my EJB application. I have made a cmp in eclipse and can deploy to jboss (version 4.0.2) successfully. However, there is an exception when I can call the "findAll()" function in CMP thru' a JSP program. 11:20:09,734 ERROR [User#findAll] Fi

[JBoss-user] [EJB/JBoss] - Re: Help stuck with JBoss 4.0.2 and MySQL 4.1.13

2005-07-27 Thread pittupgd
Hello, Even if I return the primary key it gives me the same error. I have tried it can you tell me whether the ejb-jar.xml and jbosscmp-jdc.xml are correct. 10:38:02,093 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract com.cygnet.medina.Hospital.Hospital com.cy

[JBoss-user] [JNDI/Naming/Network] - Re: port for Mysql in Jndi file and datasource file

2005-07-27 Thread johnhelen
Sorry, one line is missing: pass View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886979#3886979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886979 --- SF.Net email

[JBoss-user] [JNDI/Naming/Network] - port for Mysql in Jndi file and datasource file

2005-07-27 Thread johnhelen
Hello My Jndi.properties file is following: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=192.168.101.4:1099 To connect with Mysql database, I have a datasource file called db-ds.xml

[JBoss-user] [JBoss Portal] - Re: Portal Forums Emails Broken

2005-07-27 Thread [EMAIL PROTECTED]
And, yes, I've other components running on this app server that use the localhost smtp mail relay, and they are working fine. It's something in the forums. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886976#3886976 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss Portal] - Re: Portal Forums Emails Broken

2005-07-27 Thread [EMAIL PROTECTED]
Oh, and my database: mysql Ver 14.7 Distrib 4.1.11, for pc-linux-gnu (i386) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886975#3886975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886975 --

[JBoss-user] [JBoss Portal] - Portal Forums Emails Broken

2005-07-27 Thread [EMAIL PROTECTED]
Anyone have any success getting emails to be sent out on watched forums? I've followed the instructions in the documentation, using localhost as my smtp server, and according to THeute, I should be able to setup the Mail service via the JMX console. I verified through the console that everythin

[JBoss-user] [JBossCache] - Re: TreeCache TCP configuration

2005-07-27 Thread ruchiahuja10
The following properties must be set in treecache.xml for cache replication to take place - 1. CacheMode= REPL_SYNC 2. ClusterName - All the nodes which are to form a cluster must have the same name 3. A proper cluster config View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.2, Eclipse 3.1, lomboz 3.1 and J2SDK 1.5

2005-07-27 Thread arupsarkar
it seems the xml tags got deleted | | | | | | | | | | org.jboss.Main | ${serverRootDirectory}/bin | -c ${serverConfig} | | |

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Caching jsp pages on jboss

2005-07-27 Thread ultiweb
"moacsjr" wrote : Hi! | | I´m having some problems with jsp cache on jboss. When I deploy the web app in a war file into jboss and try to load some jsp pages, the resulting pages aren't the same version of the deployed ones. It seams that the old pages are cached. | I´ve deleted the conte

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.2, Eclipse 3.1, lomboz 3.1 and J2SDK 1.5

2005-07-27 Thread arupsarkar
here is the error message...BUT jboss boots perfect when I invoke it from the terminal via sh run.sh command 00:44:33,619 DEBUG [Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo 00:44:33,745 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc. 00:44:33,749 INFO

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-07-27 Thread jtsoong
Hi Thomas, you wrote: anonymous wrote : Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. | | Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | | Code: | | ServiceFa

[JBoss-user] [Beginners Corner] - Can I ask a simple quesion about memory usage?

2005-07-27 Thread jasonfa
Hi, My jboss version is 3.2.5. I have a lot of entity beans in the system. The problem is after running for some time, the memory will go as high as 3G. Is it because when the entity beans are called, the data retrieved from Oracle database are stored in memory and never released? Thanks, Jaso

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Rollback affects both Hypersonic database and Oracle

2005-07-27 Thread genman
An MDB only processes the same message ten times, after that it goes to the DLQ (dead letter queue.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886957#3886957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886957

[JBoss-user] [JNDI/Naming/Network] - Re: classpath for Jndi.properties file

2005-07-27 Thread johnhelen
thanks I put this file into c:\winnt folder. When I run cmd as >echo %classpath% I get c:\winnt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886956#3886956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886956 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Rollback affects both Hypersonic database and Oracle

2005-07-27 Thread CWEAVER1321
Thanks again genman. Where do you set the max retries? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886955#3886955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886955

[JBoss-user] [JBoss Getting Started Documentation] - Re: Where exactly is jbossj2ee-src.zip

2005-07-27 Thread darranl
If you download the getting started guide from: - http://www.jboss.org/products/jbossas/docs The archive contains the file jbossj2ee-src.zip "steven.zhong" wrote : I have complian more that i can't copy the texts from the forum. It's not necessary for a public forum. really not. I can copy te

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed

2005-07-27 Thread steven.zhong
hi, guys, just cp the properties file to the j2eetutorial14's top level directory. copy the libs dirctory to the the top level directory. overwrite the bank directory of j2eetoturial. you will get the correct response. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [JBoss Getting Started Documentation] - Re: Well, Well, They should put something beside that link!

2005-07-27 Thread darranl
"steven.zhong" wrote : I believe Jboss will correct this soon! | I am very unhappy for this. It wastes me a lot of time. Just download the getting started guide from: - http://www.jboss.org/products/jbossas/docs The archive contains the zip file. View the original post : http://www.jboss.org

[JBoss-user] [JNDI/Naming/Network] - communication Exception

2005-07-27 Thread abitha
I have the following code segment in my code. We need to access this bean for several things, and for multiple app servers - the ip addresses and names of which are configurable. So based on the requirement, we pass the name or ip address to the code, and it first sets the context via the follow

[JBoss-user] [JBoss Getting Started Documentation] - Well, Well, They should put something beside that link!

2005-07-27 Thread steven.zhong
I believe Jboss will correct this soon! I am very unhappy for this. It wastes me a lot of time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886946#3886946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886946 -

[JBoss-user] [JBoss Getting Started Documentation] - Re: Where exactly is jbossj2ee-src.zip

2005-07-27 Thread steven.zhong
I have complian more that i can't copy the texts from the forum. It's not necessary for a public forum. really not. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886945#3886945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [JBoss Getting Started Documentation] - Re: Where exactly is jbossj2ee-src.zip

2005-07-27 Thread steven.zhong
I got the same problem. It's a shame for Jboss.org. it's really unacceptable ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886944#3886944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886944 --

[JBoss-user] [Beginners Corner] - Re: New Oracle Application

2005-07-27 Thread alexandre_correa
I think you need the ojdbc14.jar instead of the classes12.jar Alexandre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886939#3886939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886939

[JBoss-user] [EJB/JBoss] - Catching naming exception

2005-07-27 Thread abitha
We are running Jboss 3.2.6 in a clustered environment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886938#3886938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886938 --

[JBoss-user] [EJB/JBoss] - Unable to catch the naming exception - please help!

2005-07-27 Thread abitha
I have the following code segment in my code. We need to access this bean for several things, and for multiple app servers - the ip addresses and names of which are configurable. So based on the requirement, we pass the name or ip address to the code, and it first sets the context via the follow

[JBoss-user] [JBossWS] - Re: using WSEE doclet

2005-07-27 Thread erik777
Does anyone else get compileWS: | [wscompile] error: class java.lang.StackTraceElement does not have a public accessible empty constructor when they run wscompile. I get this error when I run it from Ant or command line, and when I use JDK 1.4 or JDK 1.5. View the original post : http://w

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: how to handle caching in jboss

2005-07-27 Thread sandeep123
"sandeep123" wrote : I am just taking about ejb instance cachingplease help me out View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886935#3886935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886935 -

[JBoss-user] [Performance Tuning] - Re: Setting Processor Affinity

2005-07-27 Thread treespace
Correction: keep one JVM pinned to a range of CPUs from one to several. Main point is each JVM has its own resources to retain cache and minimize memory contention. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886934#3886934 Reply to the post : http://ww

[JBoss-user] [Performance Tuning] - Setting Processor Affinity

2005-07-27 Thread treespace
We are running multiple JVMs on a dual CPU box. Each is running the same application under JBoss so they are sharing the same code and within a JVM sharing a lot of application data. Best practice seems to indicate that multi-threaded applications should set processor affinity to keep the thre

[JBoss-user] [Security & JAAS/JBoss] - Re: authentication based on unix logins ?

2005-07-27 Thread tcherel
Actually, forget what I said, dwarf is not open source. You just have a free binary distribution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886931#3886931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886931

[JBoss-user] [Security & JAAS/JBoss] - Re: authentication based on unix logins ?

2005-07-27 Thread tcherel
There is no out-of-the-box JAAS login modules that will allow you to do that (at least not with JBoss). You might be able to extract and reuse the UnixLoginModule of the dwarf server framework: http://158.195.16.189/doc/dwarf/api/SK/gnome/dwarf/auth/login/UnixLoginModule.html Thomas View the

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: 2 jboss instances clustered using same server

2005-07-27 Thread darranl
And in what way does your question relate to the 'O'Reilly JBoss 3.0/4.0 Workbook'? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886927#3886927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886927

[JBoss-user] [JCA/JBoss] - Re: datasource from a gui client

2005-07-27 Thread darranl
The java: namespace is for access within the same JVM only. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources You need to look at 'use-java-context' to bind the datasource to the global namespace instead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Clustering/JBoss] - Re: puzzles about load balancing and failover of JBoss clust

2005-07-27 Thread menkun
Hi, Vigneshwaran Thanks again for your kindly help, and also your valuable information. Actually it is my fault to make some confusion. In my question 1), I should not use the term 'running processing', what I mean is the 'live session'. And in my question 4), what I meant is 'during RMI call'.

[JBoss-user] [JNDI/Naming/Network] - Re: classpath for Jndi.properties file

2005-07-27 Thread darranl
Can you show the classpath you are using. If you are getting the error you are getting it means the file is not on the classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886923#3886923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation, Configuration & Deployment] - Re: How to change default web application?

2005-07-27 Thread darranl
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetupARootContextApp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886922#3886922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886922 ---

[JBoss-user] [Security & JAAS/JBoss] - authentication based on unix logins ?

2005-07-27 Thread lafr
Our "old" application runs mostly on unix systems. The auth process uses the OS. All users must be known by the OS (/etc/passwd). The password check is done by the OS. We are going to replace parts of it and build some additional functions based on JBoss. Is there a way to use the Unix OS for a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 4.0.2RC1 DLQHandler Sybase

2005-07-27 Thread ahahamyan
I got this figured out, it appears that the .ear that contained the mdbs were getting deployed before the XAConnectionFactory was setup. The setup of the DLQ handler (done during mdb deployment) needed the XAConnectionFactory. I simply moved the .ear file to the deploy.last folder within the dep

[JBoss-user] [Clustering/JBoss] - Re: clustering problems - nodes fail to cluster

2005-07-27 Thread spambob
I've tried starting jboss separately, and that doesn't help. I did just discover the following: the org.jgroups.tests.McastReceiverTest fails, even though the ViewDemo app succeeds: bs-desktop% java -cp ".:../server/all/lib/jgroups.jar:../server/all/lib/commons-logging.jar" org.jgroups.tests

[JBoss-user] [EJB/JBoss] - Static Reference in EJB Container

2005-07-27 Thread andrewbetencourt
I have a JAR that contains some entity beans and session facades. After start jboss in all mode, the application call the session facades that call entity beans and finalize. OK! My application use ServiceLocator for find objects in JNDI Context. The problem is that

[JBoss-user] [JNDI/Naming/Network] - jndi.properties jnp.timeout=60000000 ignored

2005-07-27 Thread llucifer
I'm setting the following settings in jndi.properties which is read by my client: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://localhost:1099 | java.naming.factory.url.pkgs=org.jboss.naming.client | | jnp.socketFactory=org.jnp.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Rollback affects both Hypersonic database and Oracle

2005-07-27 Thread genman
CWEAVER - You can limit the number of retries to 1 or 2. The default is 10, so I don't see how it could cause a crash. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886913#3886913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA JMS persistence logic for JBossMQ

2005-07-27 Thread genman
It's always storing them. This is preferable to potentially losing messages. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886912#3886912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886912

[JBoss-user] [Clustering/JBoss] - Re: clustering problems - nodes fail to cluster

2005-07-27 Thread jiwils
Are you starting JBoss on both boxes at close to the same time? Previous versions of JGroups could sometimes run into problems if this is the case. Try shutting down both JBoss instances, then start one, wait until it starts completely, then start the other. See if this makes any difference.

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - HTTP TLS/SSL "Exception getting SSL Cert"

2005-07-27 Thread saucier
I'm using JBoss 4.0.2. I'd like to use SSL/TLS with mutual client-server certificate authentication. I set up a connector in tomcat's server.xml to listen on port 8443. (Note that the Tomcat docs state that sslProtocol="TLS" is the default but I had to specify it explicitly in order to have my c

[JBoss-user] [Management, JMX/JBoss] - Remote proxy for Singleton Mbean

2005-07-27 Thread pkles
Hi everybody, I´m trying to access an own Singleton MBean remotely, but the examples that I found are not working for me: http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXMBeanRemoteProxy. First of all, I took out the "InvokeTargetMethod" tag from my jboss-service.xml that is in the .sar that conta

[JBoss-user] [Clustering/JBoss] - clustering problems - nodes fail to cluster

2005-07-27 Thread spambob
I have the following situation, two machines (called bs-laptop and bs-desktop), both of which are trying to cluster together, using Jboss 3.2.5. Both machines have "bs.playsecond.com" as their virtual host. The /etc/hosts files read as follows. On bs-desktop: 192.168.253.47 bs.playsecond.co

[JBoss-user] [JBossWS] - Question about document/literal

2005-07-27 Thread [EMAIL PROTECTED]
Paulo wrote: I have been working quite intensely with J2EE 1.4 web services in the previous weeks. I'm working mostly with JBoss 4.02 and with WebSphere 6. While using rpc/encoded and rpc/literal everything went ok. Everything behaved as expected, and both application servers dealt with my appli

[JBoss-user] [Beginners Corner] - Re: Bad configuration, no deployment info (help!)

2005-07-27 Thread Caidence
Fixed it. My ANT build file got away from me, it was creating empty JAR files. Apparently, JBoss will deploy empty JAR files but will not display INFO output informing the user that it is empty. Odd. Sorry if anyone spent time on this silly issue. View the original post : http://www.jboss.or

[JBoss-user] [Security & JAAS/JBoss] - How to Forward to a Particular Page if Login is of a Particu

2005-07-27 Thread kenlohwh
Hi All, There are many websites that require a user to go through an email verification process by getting him to access the website with an url parameter consisting of a code sent to the email account concerned. Therefore, if an unverified user tries to access a secure page, a page shows up t

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jasper Exception with JBOSS 3.2.4 and JDK 1.5.0

2005-07-27 Thread sumanthn
JBoss 4.0.2 too seems to have a problem with JDK 1.5 (Serializability issues). Have the changes from JDK 1.4 to JDK 1.5 made all version of JBoss incompatible with the 1.5 release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886898#3886898 Reply to the p

[JBoss-user] [Messaging, JMS & JBossMQ] - HA JMS persistence logic for JBossMQ

2005-07-27 Thread malmit
Just curious is anyone knows the persistence logic behind HA JMS. Does JBoss: a. upon receiving a persistent message always insert the message into the database b. keep a certain number of messages in memory until a threshold is reached My best guess is that it would be doing option a because

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: HAR files and event listeners

2005-07-27 Thread frankgrimes
For anyone watching for a reply, looks like this question has been answered here: http://forum.hibernate.org/viewtopic.php?t=943345 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886894#3886894 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] clustering problems - nodes fail to cluster

2005-07-27 Thread bruce sherrod
I have the following situation, two machines (called bs-laptop and bs-desktop), both of which are trying to cluster together, using Jboss 3.2.5. Both machines have "bs.playsecond.com" as their virtual host. The /etc/hosts files read as follows. On bs-desktop: 192.168.253.47 bs.playsecond.c

[JBoss-user] [JBoss Portal] - Unable to start JBoss Portal, jboss.jca:service=DataSourceBi

2005-07-27 Thread sheldonrobinson
Backgroud: 1. Moved jboss-port.sar to the %JBOSS_HOME%\server\default\deploy folder. 2. Placed jtds-1.1.jar in the %JBOSS_HOME%\server\default\lib folder 3. Placed portal-sqlserver-ds.xml in %JBOSS_HOME%\server\default\deploy folder. 4. Started JBoss AS The ROOT CAUSE is below: --- MBEANS THAT

[JBoss-user] [Installation, Configuration & Deployment] - Configuring a MySQL JDBC Connection Pool

2005-07-27 Thread malmit
Is there any good documentation on how to configure a JDBC Connection Pool? I read the ConfigDataSources Wiki and there isn't any explanation. I added the following elements to my config file, but i'm not sure if I'm actually using a connection pool now. 5 100 5000 15 Also ar

[JBoss-user] [Clustering/JBoss] - Re: New to clustering

2005-07-27 Thread JerryGauth
There are several ways to run multiple nodes from a single machine. 1) As noted in an earlier reply, you can configure multiple IP addresses on a machine and then start the JBoss server with an associated IP address (e.g., run.bat -c mynode1 -b 192.168.1.100) 2) You can use a single IP addres

[JBoss-user] [EJB/JBoss] - Help stuck with JBoss 4.0.2 and MySQL 4.1.13

2005-07-27 Thread pittupgd
Hi All, I have a HospitalBean which is called from a HospitalManagerBean which is a SessionBean. The Manager code is as follows public HospitalData addHospital(HospitalData hospitalData) throws EJBException,RemoteException{ HospitalData newHospitalData = new HospitalData(); try { System.out.pri

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - java.security.AccessControlException/Tomcat startup

2005-07-27 Thread dnatobyte
I'm currently running Tomcat 5.0.28 and am receiving the following stack trace during startup ** July 15, 2005 9:09:45 PM org.apache.commons.modeler.Registry registerComponent SEVERE: Error registering Catalina:type=RequestProcessor,worker=http-8080,name=HttpRequest2 java.security.

[JBoss-user] [JBossWS] - Re: Help please!Problem with complex types.

2005-07-27 Thread mwaschkowski
Hi Christy, Ya, I'm having a similiar problem. I found the answer here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61739 Quote: "JAX-RPC 1.1 does not support collections, so you have to use arrays. The future specification addresses this." I suppose that this means your soap interf

[JBoss-user] [JBoss Portal] - Re: DivDecorationRenderer.java

2005-07-27 Thread scottlholmes
I'm getting kind of far on a new improved version of myLayout that does 3 columns with header and footer. This version will be tableless, standards based and more. I was saving the divrender for last but I'll try to get something working there. I can tell you already that the Maximize functiona

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is 100 - 100KB msgs/sec achievable in JBossMQ?

2005-07-27 Thread schrouf
Concrete throughput numbers are determined by your specific hardware. Anyway I would bet that the database is the primary 'bottleneck', not JBossMQ. Write a simple JDBC test client that inserts dummy Message and MessageBLOB data directly into the underlying MySQL message table of your persisten

[JBoss-user] [Security & JAAS/JBoss] - Re: get the current user that is conected

2005-07-27 Thread tcherel
getCallerPrincipal on the EJBContext that is set via the setSessionContext operation of the session bean. This is assuming that your application is properly secured using the standard J2EE mechanisms. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss4.0.2 and Hibernate3 problem

2005-07-27 Thread lol91
Hi, I have the same problem, and I haven't hibernate jars in my war file qiuwg can you tell me how did you have resolved the problem ?? Thanks a lot ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886815#3886815 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: Problems while trying to get Home interface

2005-07-27 Thread vitarara
What is the reason that the EJB interface classes can not be in the war file? Is this part of the J2EE spec? Would this also malfunction if the war was deployed in a container separate from the container that is running hte EJBs? Thanks, Mark View the original post : http://www.jboss.org/ind

[JBoss-user] [Beginners Corner] - Re: Fibo Tutorial on JBoss 4.0.2

2005-07-27 Thread iiPing
just like everybody said remove interfaces from classes on your web app archive (war)... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886861#3886861 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886861 --

[JBoss-user] [JBoss Portal] - Re: DivDecorationRenderer.java

2005-07-27 Thread mholzner
So far we couldn't find a DIV only version that actually worked. There were always some issues with positioning the mode and state images. If you have a working way please let me know! You can write your own renderSet and point your portal or layout to it. It's easy. * If you want to set the

[JBoss-user] [Messaging, JMS & JBossMQ] - Is 100 - 100KB msgs/sec achievable in JBossMQ?

2005-07-27 Thread malmit
I am trying to determine whether or not 100 - 100KB msgs/sec is achievable or not in JBossMQ. I've configured JBoss with the following features: mysql persistence for JMS durable subscriptions, HA JMS, connection pool for mysql datasource. Currently I can only the max number of messages I've b

[JBoss-user] [Beginners Corner] - session values

2005-07-27 Thread hakimus
Hi folks, I am having a problem storing values in the session. I have many variables, almost 20, from a form, and saving it in the servlet session. (Ok guys, this is not the better way, I will try EJBs later). One of my problem is: when I come back to the page, it throws me the old values!! E

[JBoss-user] [EJB/JBoss] - EJB3 Tutorial - Entity Bean

2005-07-27 Thread aho
I test run the entity bean and evertyting works fine. The PURCHASE_ORDER and LINEITEM tables were created in the Hypersonic database with records. Can some one explain what I have obsevered? 1. Removing the tutorial.ejb3 from the deploy directory will remove the PURCHASE_ORDER and LINEITEM ta

[JBoss-user] [Installation, Configuration & Deployment] - Re: Log4J & SMTPAppender

2005-07-27 Thread jiwils
Try using the HTMLLayout by using the following layout elment in your SMTPAppender element: As this is really a Log4j question, you should reference the Log4j website (http://logging.apache.org/log4j/) for help with questions like this. View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Clustering/JBoss] - Re: New to clustering

2005-07-27 Thread nitinjain
Thanks once again. I want to know that what all changes we are supposed to make to configure multiple nodes on single machine. And please help me in enabling session replication. I have a web application (.war) archive which connects to some repository using a JNDI look up with help of a resou

[JBoss-user] [Clustering/JBoss] - Re: New to clustering

2005-07-27 Thread vignesh76
Hi, Yeah JBoss has tomcat bundled with it and each jboss instance will have tomcat running on it. Since all web requests are handled by tomcat, you need a loadbalancer in front of your JBoss nodes to loadbalace web requests between your JBoss instances. Apache web server is meant for that pur

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS-4.x, Eclipse-3.x, Lomboz-3.

2005-07-27 Thread jbosszone
Dear tumitoto, There might be some helpful info in the results of Google search with "org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName". e.g.; http://issues.apache.org/jira/browse/AXIS-1760?page=comments#action_58265 jbosszone View the original post : http://www.

[JBoss-user] [Security & JAAS/JBoss] - Re: Selective access to application running on JBoss!

2005-07-27 Thread tcherel
A few different answers to your two last post: 1) With web applications, you can basically handle the login in two different way: BASIC authentication (that will cause the web browser to display the "standard" login window asking for user name and password) or FORM based authentication where yo

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: how to handle serialization problem in jboss

2005-07-27 Thread schrouf
Maybe you shoud be a little bit more specific View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886820#3886820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886820 ---

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

2005-07-27 Thread bmelloni
Thank you, I am aware of these details (and many more... I participated in many discussions and tests on the topic over the last year). The problem is that full 100% isolation (not just between ears but even between the ears jBoss itself) is very hard to achieve and perhaps not yet fully possib

[JBoss-user] [Beginners Corner] - Bad configuration, no deployment info (help!)

2005-07-27 Thread Caidence
I am currently developing an EJB service. Since it's developing, it has tons of errors, and I need to deploy the bad JARs into JBoss so JBoss will tell me the errors. It used to do this correctly. It would look like this on the console: anonymous wrote : 2005-07-11 18:18:09,957 WARN [org.

[JBoss-user] [JBossWS] - Re: No serializer found exception

2005-07-27 Thread parallax
I used wscompile to generate wsdl, wscompile does not support collection so i used Array instead, but it complains of not being able to find serializer. Any ideas on how to solve it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886816#3886816 Reply to the

[JBoss-user] [JNDI/Naming/Network] - Some problem with the connections

2005-07-27 Thread babukiran
Hi, When I startup my application I have a few startup classes which are loaded using a servlet. But i am getting this error. Any ideas or help would be very much appriciated. Thanks 11:00:29,266 WARN [TxConnectionManager] Connection error occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles

[JBoss-user] [Security & JAAS/JBoss] - LDAP: client-side authentication

2005-07-27 Thread schachi
i have to authenticate users on the client-side (Java-Swing, auth.: ldap) i tried it with the ClientLoginModule, but i NEVER received a exception (i expected to get an exception when i enter a wrong username/password). [...] jboss-documentation: note that this login module does not perform any a

[JBoss-user] [EJB/JBoss] - Re: Help stuck with JBoss 4.0.2 and MySQL 4.1.13

2005-07-27 Thread fbiaggi
Hi, not shure, but maybe the error is in the the ejbCreate should return the generated key, not null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886830#3886830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886830

[JBoss-user] [Clustering/JBoss] - Re: puzzles about load balancing and failover of JBoss clust

2005-07-27 Thread vignesh76
Hi Menkun, Thanks for your clarification. Actually your questions 1 and 4 contradict each other if I am not mistaken. In question 1 you mention that "all processes in A are transferred to B seamlessly" and as per your last clarification, these processes are running processes i.e, still incomple

[JBoss-user] [Security & JAAS/JBoss] - Re: Selective access to application running on JBoss!

2005-07-27 Thread tcherel
This is almost enough You also need to define your login page in the web.xml (standard servlet login-config stuff) and you need to define some security contraints on your web app URLs (also done in the web.xml) to mark them as "secured" otherwise login will not be requested. But, once JBos

[JBoss-user] [EJB/JBoss] - Re: EJB3 Tutorial - Entity Bean

2005-07-27 Thread shivani
Hi, My tables are saved in the db ..they are there..but i still keep getting the userid as null when i give in the username and the password at the client..the table contains all 3 fields.I am unable to retrieve any information frm the db basically.PLease help. Thank you. View the original

[JBoss-user] [Beginners Corner] - Hi- Tusc tutorial doubt

2005-07-27 Thread shivani
Hi , I am working wit the Tusc tutorial and I am unable to retrieve any information from the data base .Can sumone pl help me on this.In Chpter 3 in the tutorial ,the userid is expected to be returned ..but i keep getting the userid is null. Please advise. Thank you. View the original post

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - jBoss client in JOnAS

2005-07-27 Thread alevisen
Hi, i've to implement the following configuration: i've a session bean deployed in jboss, and there is a client deployed in jonas. jboss and jonas are in separated machines (i wanted to evoid any port's troubles). what i want to know is where i've to put the jboss-allclients.jar archive in jona

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Cannot Load Hibernate object

2005-07-27 Thread Neelixx
My apologies, but it seems as if this is a hibernate issue, and not a JBoss issue. I've moved my post to the Hibernate forums. If you have any questions about this post, please post there. Sorry for the cross-posting! http://forum.hibernate.org/viewtopic.php?p=2252760#2252760 View the origin

[JBoss-user] [J2EE Design Patterns] - Re: Static Initialization at server startup

2005-07-27 Thread sgodden
I want to be portable, thus reluctance to use MBean. I tried also to do a client login in the init() method with hardcoded user id and password, and that did not work. I got no errors from the login but still got a authentication failure on EJB invocation due to a null principal. Because we ha

  1   2   >