[JBoss-user] [HTTPD, Servlets JSP] - strange problem

2004-06-07 Thread zhangj
I hava a screen on web,there is an iframe,the content displayed in frame is depands on the parameter pass for ex.,: form.action=thepage.jsp?para=A then the iframe display contentA if form.action=thepage.jsp?para=B then the iframe display contentB what's stenge is: userA from pcA access the

[JBoss-user] [Beginners Corner] - Re: don't give client jsp files

2004-06-02 Thread zhangj
any body knows? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837250#3837250 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837250 --- This SF.Net email is sponsored

[JBoss-user] [Beginners Corner] - Re: not woking at first time

2004-06-02 Thread zhangj
any solution? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837251#3837251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837251 --- This SF.Net email is sponsored by

[JBoss-user] [Beginners Corner] - URL problem

2004-06-02 Thread zhangj
I set up jboss and apache. apache connect to jboss using mod-jk2.my welcome page on jboss is login.jsp,I can type URL in IE http://myserver:8080/ to get login.jsp load in my browser. I want get this through apache,I typed in http://myserver it does't work,I got HTTP Status 404 - /login.jsp error

[JBoss-user] [Beginners Corner] - Re: don't give client jsp files

2004-05-31 Thread zhangj
I tryed this: made a jsp file put under default\deploy\myweb.war\myjsp.jsp call this jsp from browser,this jsp compiled and generated class is default\work\MainEngine\localhost\myjsp_jsp.class delete default\deploy\myweb.war\myjsp.jsp and put myjsp_jsp.class under default\deploy\myweb.war\,use

[JBoss-user] [Beginners Corner] - not woking at first time

2004-05-31 Thread zhangj
I defined a class: import com.sun.rowset.*; import java.sql.*; public class RowSetAdaptor extends java.lang.Object implements java.io.Serializable { private String s; private CachedRowSetImpl rowset; public RowSetAdaptor() { try{

[JBoss-user] [Beginners Corner] - don't give client jsp files

2004-05-28 Thread zhangj
I have a web application,it works fine.only thing is I have to keep all of jsp file in the war directory.when we give to client,they will see the source code.is there any way only give them the compiled class file,instead give all of jsps and class files thank you View the original post :

[JBoss-user] [Clustering/JBoss] - how to set up partition

2004-05-25 Thread zhangj
I red the jboss cluster docuemtn,say: If you want to run several clusters on the same network, you can change the name of the partition so that different nodes use different partition names. However, this requires additional changes as many services will look for a partition named

[JBoss-user] [Clustering/JBoss] - cluster slow

2004-05-25 Thread zhangj
I have a web application,jsp+stateless session bean. I run it stand alonely,one of screen take 6 second to load,but I set up cluster(2 node),the screen take 12 second to load,what could be the reason?what should I check? View the original post :

[JBoss-user] [Clustering/JBoss] - Re: how to set up partition

2004-05-25 Thread zhangj
is this make jboss in a separete new partition? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835818#3835818 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835818 ---

[JBoss-user] [Clustering/JBoss] - how does cluster detect node

2004-05-25 Thread zhangj
jboss cluster detect node in the network automatically.does jboss check all over the network?if part of network are slow,is this make all of cluster slow even there is no jboss installed on this node?how can I limit the jboss check only some of node or part of network, so that jboss doesn't

[JBoss-user] [Clustering/JBoss] - clustering slow

2004-05-21 Thread zhangj
I have a problem regarding jboss3.2.3 clustering. I have a jsp+stateless session bean web application.one of the screen load on stand alone jboss server take 6 second,but if I set up clustering(2 jboss),apache2.0.49+jk2 as load balancer, this screen take 12 second to load. what could be the

[JBoss-user] [Clustering/JBoss] - how to run several clusters on the same network

2004-05-21 Thread zhangj
in jboss document jboss clustering,chapter 3,say: If you want to run several clusters on the same network, you can change the name of the partition so that different nodes use different partition names. However, this requires additional changes as many services will look for a partition named

[JBoss-user] [JCA/JBoss] - diffrence between local-tx-datasource xa-datasource

2004-05-20 Thread zhangj
I'm reading the Jboss document,I'm no quite understand the diffrence of local-tx-datasource and xa-datasource,I'm not sure when should use which View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835718#3835718 Reply to the post :

[JBoss-user] [EJB/JBoss] - using eclipse and lomboz to make EJB problem

2004-05-19 Thread zhangj
I'm using Eclipse+lomboz develop EJB on Jboss.eclipse alway generate ejb-jar.xml and jboss.xml automatically.but I need to customaize these files.I saw somebody put /* [EMAIL PROTECTED] int the code,which can change this file.but I don't like this way.since these are configuration infomation,I

[JBoss-user] [EJB/JBoss] - Re: transaction problem

2004-05-14 Thread zhangj
Thank you for reply. basicly,this stored procedure update current database,then use xp_cmdshell which is in master database to export table to a file.I'm using MS sql server 2000.the data in current database updated but use has no access to master database. I'm using container managed

[JBoss-user] [Performance Tuning] - application on Xeon Dual CPU

2004-05-14 Thread zhangj
I have a J2EE application,I put it on a P4 machine,it consume about 90_100% cpu,but if I put it on a Xeon dual CPUs machine,it take only 30_40% CPU,how can I increase the CPU usage on Xeon son it runs faster? View the original post :

[JBoss-user] [Performance Tuning] - Re: application on Xeon Dual CPU

2004-05-14 Thread zhangj
ps this is a CPU centric application,basicly,it is a nested loop to construct a big string View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835015#3835015 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835015

[JBoss-user] [EJB/JBoss] - Re: transaction problem

2004-05-13 Thread zhangj
ps:I'm using MS sql server 2000, and master..xp_cmdshell execute a bcp command,copy from table to a file View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834817#3834817 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834817

[JBoss-user] [EJB/JBoss] - transaction problem

2004-05-12 Thread zhangj
I have a jsp call stateless session ejb method,in the method,it call a stored procedure,the stored procedure call master..xp_cmdshell and update some tables. since use user doesn't have permit to access master database,the master..xp_cmdshell failed.but the tables updated I set the ejb and

[JBoss-user] [Installation Configuration] - encrypt password

2004-04-08 Thread zhangj
in jboss 3.2.3,config the connection pool to connect to database: driver-classorg.hsqldb.jdbcDriver/driver-class !-- The login and password -- user-namesa/user-name passwordabc/ password the password put in plain text but even I told client this configuration only stay

[JBoss-user] [Clustering/JBoss] - failover doesn't work in my cluster

2004-03-23 Thread zhangj
I set up 2 jboss3.2.3 in one cluster,and use apache2 as web server,use jk2 as connector I config the worker.properties like [config:] file=C:/Program Files/Apache Group/Apache2/conf/workers2.properties debug=0 debugEnv=0 [shm] file=C:/Program Files/Apache Group/Apache2/logs/jk2.shm size=1048576

[JBoss-user] [Clustering/JBoss] - restart jboss in cluster

2004-03-23 Thread zhangj
I read some articles regarding apache+jk2+jboss saying that:you have to start jboss servers before start apache web server. what's the reason for this order? what happen if one of jboss server failed in the cluser,I have to restart this jboss server while the apache and all of others jboss