[JBoss-user] [Performance Tuning] - Re: Executing Session Bean methods very slow over internet

2005-03-01 Thread damencho
Obviusly a problem in JBoss. Nobody wants to answer me . Is this a common problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868450#3868450 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868450 -

[JBoss-user] [Beginners Corner] - Http Server / Servlet Container / JSP Engine

2005-03-01 Thread sivavp
hi, 1. Http Server 2. Servlet Container 3. JSP Engine All the above are same or different if different what is the difference between them if u can plz provide an example for each one Thanks & Regards, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868446#

[JBoss-user] [Persistence & CMP/JBoss] - when to use ?

2005-03-01 Thread ericmacau
hello, what's different to set to true and false ??? Eric View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868442#3868442 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868442 ---

[JBoss-user] [JBossWS] - Re: Problem Running WSClient of Duke's Bank example

2005-03-01 Thread rajdeep_dua
this exception i was getting because the account no wasnot present View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868440#3868440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868440

[JBoss-user] [Messaging, JMS & JBossMQ] - Application Hangs on Context Lookup

2005-03-01 Thread doublek321
Below is some code I'm writing to test how to write a message producer in JMS. It's not the entirety of the code but it's the relevant piece. For some reason my code hangs after printing "checkpoint2". I checked the JMX Console and the following entry exists... jboss.mq.destination name=testQue

[JBoss-user] [Javassist user questions] - Re: Array Class Literals

2005-03-01 Thread chiba
Let me make sure. Javassist 3 can compile Object[].class. Chiba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868436#3868436 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868436 ---

[JBoss-user] [Beginners Corner] - Re: Roughly, how does standalone tomcat communicate with JBo

2005-03-01 Thread stevenpeh
It seems to me your servlets/jsps in tomcat can lookup ejbs as if they're are stand alone java clients, i.e. via jndi. Just make sure you configure your jndi.properties file correctly and make it accessible in your web application's classpath. Cheers. View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - JBoss 3.2.6 Can't Find URLDecoder in Java 1.3

2005-03-01 Thread dwightmccann
I am running zLinux on an IBM 2066. I am not familiar with Java or JBoss but am doing the install as part of my support duties for developers. I installed Java: [EMAIL PROTECTED]:~> java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic VM (bu

[JBoss-user] [HTTPD, Servlets & JSP] - j_uri support ?

2005-03-01 Thread ionel
Following a thread started on the Security/JAAS forum, i'd like to know how to add a valve to a dynamicaly deployed application. I tried this : public class FormRedirectAuthenticator extends FormAuthenticator { | | public boolean authenticate(HttpRequest request, HttpResponse response,

[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Build Fail

2005-03-01 Thread truyen
edit your c:\j2eetutorial\bank\jboss-build.xml and replace: | | with this: | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868414#3868414 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Messaging, JMS & JBossMQ] - CommunicationException: Can't find SerialContextProvider

2005-03-01 Thread zcecp49
hi all, hoping you can help me. I've written a simple application which has been running reliably on the sun j2ee reference platform. Having had optimisation problems, i was recommended to upgrade to JBoss. this is a simple jms app which is not deployed within the JBoss env, but rather a stand

[JBoss-user] [Messaging, JMS & JBossMQ] - org.jboss.mq.il.oil.OILServerILService] Connection failure (

2005-03-01 Thread anathecoolest78
Hi I'm finding this error occuring at different intervals.I've got a client that posts messages to the server through JMS Queue.Everything runs fine but at times i end up getting the following error messages.Can anyone help me out to figure it out.Following are Trace that i get.Expecting your

[JBoss-user] [Installation & Configuration] - Re: Problems with log4j and EAR deployment

2005-03-01 Thread Viz
I solved my issue by moving to 4.0.1sp1. Might be worth a try? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868405#3868405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868405 -

[JBoss-user] [Messaging, JMS & JBossMQ] - premature start of message delivery to MDB

2005-03-01 Thread dcreado
Hi All, IÂm using a Queue to dispatch millions of messages (per month) to a MDB pool in a cluster of 4 3.2.6 nodes. The JMS is running over Singleton Service. The ear file that is deployed is somewhat huge, and during the deploy of itÂs EJBs a message driven bean is deployed and the connection w

[JBoss-user] [Security & JAAS/JBoss] - Re: how to get user roles after the user logged in

2005-03-01 Thread sgallet
"choikim" wrote : I'm using form based declarative security using mysql database. | After the user logged in, I want to display different selections on the screen | depending on the role the user has using jsp or servlet. | I can get the username using request.getRemoteUser(), but is ther

[JBoss-user] [Beginners Corner] - 1st step tough! why does it ask me for userid/password?

2005-03-01 Thread wayne_huaiyuan_yu
just installed 4.0.0rc1. i only tried to access localhost:8080 with default or minimal 4.0.0rc1 on xp, i got prompt asking for userid/password, mentioning xdb on the little pop up window. i do not know what my userid/password is, i have been battling this for 10 hours, to noavail. anyone

[JBoss-user] [JBossWS] - Exeption with soapcall from non-java client.

2005-03-01 Thread dijkstra
I've written some beans who throw a java.rmi.RemoteException wenever an application error occurs. Everything is working like a charm during testing with junit no exeptions in my jboss 4 console. Only, when I do a soap call from a non java environment, say php. The same RemoteException is throw

[JBoss-user] [EJB/JBoss] - Container managed transaction in Stateless Session Beans

2005-03-01 Thread Yakuzza
Hello, i read a lot of books about the transaction handling (cmt, bmt, and so on). In one of these books i found the following statement (translated from german): anonymous wrote : There are two ways to rollback a transaction in beans (CMT). First way is throwing an EJBException. The second is c

[JBoss-user] [Security & JAAS/JBoss] - how to get user roles after the user logged in

2005-03-01 Thread choikim
I'm using form based declarative security using mysql database. After the user logged in, I want to display different selections on the screen depending on the role the user has using jsp or servlet. I can get the username using request.getRemoteUser(), but is there any way that I can get user r

[JBoss-user] [Security & JAAS/JBoss] - Re: how to test form-based security using jaas, mysql set up

2005-03-01 Thread choikim
Thank you for all the help. I made it work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868389#3868389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868389 ---

[JBoss-user] [Security & JAAS/JBoss] - javax.net.ssl.HttpsURLConnection Problem

2005-03-01 Thread rafcio
Hi, I want make an HTTPS connection from JBoss: | // build url and connection | URL url = null; | try { | url = new URL(mmsURL); | } | catch (MalformedURLException murle) { | logger.fatal("sendMMS() failed build url to

[JBoss-user] [Installation & Configuration] - Re: Change localhost name

2005-03-01 Thread opiegai
Configure the tomcat webserver to listen on port 80. Then the following urls are equal : http://localhost:80 - http://localhost View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868375#3868375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Security & JAAS/JBoss] - Re: Mixed Security Domains

2005-03-01 Thread tcherel
I believe that with a custom JAAS login module (both server and client), you should be able to provide the extra "client type" information from the client (using a custom JAAS module on the client that does "similar" things as the default JBoss client module) and, on the server, using another J

[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated SQL Sentence too big

2005-03-01 Thread triathlon98
You should have used "fetch-size", not "page-size". It does work. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868369#3868369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868369

[JBoss-user] [Beginners Corner] - Roughly, how does standalone tomcat communicate with JBoss?

2005-03-01 Thread erikrod
Hi! I'm doing a project where we have to install an application to do measurements on it. The design requires a standalone tomcat 5 to run on one computer and the application-server on another. I've got them both working seperatly. The thing is that I'm quite new to both JBoss and Tomcat and

[JBoss-user] [JBossWS] - Soap Response body is not name space qualified

2005-03-01 Thread gag_72
Hi, I've created a document literal web service. Starting from WSDL and schema. I used wscompile to create server and client classes, and other artifacts, Besides I created a service endpoint implementation , ws4ee-deployment.xml, web.xml etc. On client side I created a standard java client usi

[JBoss-user] [EJB/JBoss] - Re: Configuring remote context

2005-03-01 Thread darranl
If you have a look at the administrators guide available from the documentation link above there is an MBean described called 'ExternalContext' in chapter 3.2.6.1. I have never tried using the MBean so can not say how well it would work but basically the bean allows you to bind a remote JNDI co

[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated SQL Sentence too big

2005-03-01 Thread pablojavierpy
Page Size didn't help. Any other ideas? Is there someone at JBOSS advocated to SYBASE testing so I can ask him/her directly? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868355#3868355 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Beginners Corner] - Re: Lookup datasource from client application problem

2005-03-01 Thread f94-mgi
Yeehaaa! It works :-D Thank you thank you thank you... ... But I'm not sure what I've done and why it didn't work earlier... is this an ugly solution? I own you stevenpeh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868353#3868353 Reply t

[JBoss-user] [Installation & Configuration] - JBoss logging (console output) under linux

2005-03-01 Thread silbunn
I am quite curious why JBoss 4.0.1 under linux doesn't display the full console output in same fashion as on winodows... Any ideas why this is omitted on linux start? | === | . | JBoss Bootstrap Environment

[JBoss-user] Port configuration conflicts when starting JBoss 4.01RC2....

2005-03-01 Thread Sharon Abu
Hi All, I've just installed JBoss 4.0.1RC2 on a Win2K machine... and when trying to start the server i encountered with some exceptions during its initialization phase It seems that there is a conflict with some port (8080) configuration i've checked to see which process occupies this port and fou

[JBoss-user] [Installation & Configuration] - Change localhost name

2005-03-01 Thread max_ten
I'm using JBoss 4.0.1 How to change from http://localhost:8080/myApp to http://myname/myApp ? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868350#3868350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [EJB/JBoss] - Re: Configuring remote context

2005-03-01 Thread jenspopp
Hi, thanks for the fast reply. I have to instances of jboss running on different servers. I want to access a session bean (user management) on the remote server from my own server. I'd like to configure the hostname/port of the remote server during deploytime. Thanks View the original post :

[JBoss-user] [Installation & Configuration] - Re: Accessing Database from MBean

2005-03-01 Thread [EMAIL PROTECTED]
This exception is because your database connection pool isn't created. There is some problem in your *-ds.xml. The one that I can figure out is 'kis' after mpa tag. Is this password? It should come in tag. Also I would suggest you to make use of tag to make sure that connection is establishe

[JBoss-user] [Installation & Configuration] - Re: Connection pooling in JBOSS

2005-03-01 Thread [EMAIL PROTECTED]
Yes JBoss supports connection pooling. You can configure it in *-ds.xml found under deploy directory. Configuration depends on which database you are using. For different configurations (*-ds.xml) related to different database have a look at jboss-x.x\docs\examples\jca Amit. View the original

[JBoss-user] [EJB/JBoss] - Re: Configuring remote context

2005-03-01 Thread darranl
jenspopp, Did you mean that you want to perform the lookup from a session bean on one JBoss instance to another JBoss instance or did you mean that the client is running outside of JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868347#3868347 Reply t

[JBoss-user] [EJB/JBoss] - Re: Configuring remote context

2005-03-01 Thread [EMAIL PROTECTED]
you need jndi properties on remote client java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://hostname:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces Hope that helps. Amit. View the original post : http://www.jboss.org/index

[JBoss-user] [EJB/JBoss] - Re: Multiple Databases

2005-03-01 Thread stevenpeh
when you say 'users connect to the machine via the hostname'.. by what protocol? Http? If so, i believe servlets can get the URL of the request, so just parse the URL for the hostname and forward it to your ejbs then let your ejbs use the appropriate datasource or dao based on the hostname to db

[JBoss-user] [Nukes User] - Re: Display module to all users

2005-03-01 Thread ncd
"pedrojosemartins" wrote : As i said before, i can only see it as administrator. If i'm not logged in or logged as a regular user, it does not show up in the modules menu, BUT i can access them via url. Hi! I had the same problem. I read the source and everything, but couldn't find anything.

[JBoss-user] [EJB/JBoss] - Configuring remote context

2005-03-01 Thread jenspopp
Hi, I want to access a session bean on a remote server via the remote (home) interface. Is there a way to set the context (servername/port) at deploytime (e.g. in an xml conf file) and do a jndi lookup on the local Server? Thanks Jens View the original post : http://www.jboss.org/index.htm

[JBoss-user] [EJB/JBoss] - Re: java.rmi.RemoteException: RemoteException occurred in se

2005-03-01 Thread stevenpeh
how bout you post your ejb code where the class cast exception is occuring.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868340#3868340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868340

[JBoss-user] [Installation & Configuration] - Connection pooling in JBOSS

2005-03-01 Thread sivavp
hi, Like in Weblogic can we do connetion pooling in JBOSS if it is possible how to do it where i can refer ... to do that Thanks & Regards, Siva, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868339#3868339 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Beginners Corner] - Re: Lookup datasource from client application problem

2005-03-01 Thread stevenpeh
in your mysql-ds.xml file add this line after your jndi-name | false | now you should be able to lookup the datasource from a stand alone client using whatever jndi name you set in the mysql-ds.xml... no need for any java:/ prefix. Also make sure you have the necessary jboss*.jar in you

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Exception while creating a connection

2005-03-01 Thread raj_pnair
Hi All, Iam getting this error while trying to get a connection for JMS. Can somebody help me out on this. I have configured the connection factory name in the jboss-ds.xml in conf/jms given below TEST/jms/TESTConnectionFactory jms-ra.rar org.jboss.resource.adapter.jms.JmsCo

[JBoss-user] [Beginners Corner] - Re: Lookup datasource from client application problem

2005-03-01 Thread f94-mgi
Thank you stevenpeh for your reply! As answer to your points: 1. The thing is that the lookup seems to work... it is the "dereferencing" inside JBoss that fails. I have tried to change the jboss-client.xml to for example: | wp-client | | test | heybabe

[JBoss-user] [Installation & Configuration] - Accessing Database from MBean

2005-03-01 Thread rakaposhi
Hello, I have a problem accessing a database from an MBean. When my MBean is deployed I get the following error: 8:19:44,526 [main] INFO STDOUT user:service=WorkflowEngineBean: fullpath = RepoPath: RepoObjectOwner: lzmpa234 host<180> RepoObjectOwner: lzmpa88 cust<200> RepoObjectOwner: syex

[JBoss-user] [JCA/JBoss] - Re: Is EJB read-only methods participating in transaction ?

2005-03-01 Thread jbjopi
I forgot to inform you that I am using commit option A - if this in any way impacts the read-only functionality ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868330#3868330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [JCA/JBoss] - Re: Is EJB read-only methods participating in transaction ?

2005-03-01 Thread jbjopi
thanks for your answer sviluppatorefico. You are right about that I will not get any deadlock if the whole entity E is marked a read-only bean - but this of cause also prevents me from calling any set method on the bean which is not an option. I investigated further to check exactly where in st

[JBoss-user] [Messaging, JMS & JBossMQ] - Persistence in jbossmq

2005-03-01 Thread JulesVerne
Hi i am having trouble with persistence . I have written a client that has set its deliverymode to NON_PERSISTENCE. but the message still seems to persist. I have also set the null-persistence.xml so the message must be persising in memory. Can anyone help me out. Sincerely yours Jubs View t