[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 server and do
form.action="thepage.jsp?para=A"
the userB from pcB do:
if form.action="thepage.jsp?para=B"
at the same time,the contentB display on both pc
why? what's the solution?
I'm using JBoss 3.2.3


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837867#3837867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837867


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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
but the URL appeared on URL bar:
http://myserver/login.jsp
I click the "Go" button on browser,the login.jsp loaded


so,the question is,looks like the "http://myserver"; has been resolved to 
"http://myserver/login.jsp",but why the page not loaded?





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837295#3837295

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837295



---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3837251#3837251

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837251



---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3837250#3837250

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837250



---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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{

rowset = new CachedRowSetImpl();

}catch(Exception e){System.out.println("constructor:"+e);}


}

I put this class file in a jar and put this jar in the 
C:\jboss-3.2.3\server\default\lib
in my code,I use this class:
RowSetAdaptor rs = new RowSetAdaptor(); 
or
RowSetAdaptor rs = null;
rs = new RowSetAdaptor();

the first time after start jboss,I get error:
constructor:java.lang.NullPointerException
but this only happen on first time,if I run it again,no errors,why?looks like 
something not been populate in the memory for the first time.by the com.sun.rowset.* 
classes are in th rowset.jar which is also in C:\jboss-3.2.3\server\default\lib folder


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837000#3837000

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837000



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 jar create a myweb.war.
delete myweb.war folder and put myweb.war file under deploy,the myweb.war file is 
contain myjsp_jsp.class,but when I call this jsp from browser myjsp.jsp it doesn't 
work.
where am I wrong?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836993#3836993

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836993



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836734#3836734

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836734



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 have to check all of network?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835827#3835827

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835827



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3835818#3835818

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835818



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835785#3835785

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835785



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 ?DefaultPartition? and will fail to start if such a partition does
not exist (or has been renamed). Consequently, it is much easier to leave the
partition name as is and instead to change the multicast address being used
(?mcast_addr? attribute of the UDP layer).

how can I change the multicast address ?I'm not good at network.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835784#3835784

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835784



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 ÂDefaultPartition and will fail to start if such a partition does
not exist (or has been renamed). Consequently, it is much easier to leave the
partition name as is and instead to change the multicast address being used
(Âmcast_addr attribute of the UDP layer).

is it hard to set up a named cluster?since many services will look for a
partition named ÂDefaultPartitionÂ,do I have to set up DefaultPartition,then,does 
others Partition need to communicate with this DefaultPartition?how can I do new 
partition be change the multicast address?
is there any document shw how to do this?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835878#3835878

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835878


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 problem,what should I check

thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835867#3835867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835867


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3835718#3835718

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835718


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 don't want it mix up with source code.
is there any way to edit ejb-jar.xml and jboss.xml and when generate and 
deploy,eclipse don't override them?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835583#3835583

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835583


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3835015#3835015

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835015


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835013#3835013

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835013


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 transaction,
Container
I think the application server should be able to control transactions,transaction 
control is one of benefit using EJB?why I have explicate say setRollbackOnly()?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835012#3835012

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835012


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bb&op=viewtopic&p=3834817#3834817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834817


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 method have transaction attribute as "required",if the part of store 
procedure failed,why the container didn't roll back the transaction?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834676#3834676

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834676


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-04-08 Thread zhangj

in jboss 3.2.3,config the connection pool to connect to database:
  org.hsqldb.jdbcDriver

  
  sa
  < password>abc
the password put in plain text
but even I told client this configuration only stay on server machine,if the server 
machine protected,nobody knows the password, they still ask if is posible put 
encrypted password, instead of plain text
thank you



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829848#3829848

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829848


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 server are still runing? do I have to 
stop the apache,wait for this jboss server started,the restart the apache? if so,the 
web site has to stop for a moment.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827152#3827152";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827152>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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

# The load balancer
[lb:lb]
stickySession=0

# Server 1, override port and host.
[channel.socket:penpc06:8009]
port=8009
host=penpc06
tomcatId=penpc06
graceful=0
disabled=0

# Server 2, override port and host.
[channel.socket:penpc30:8009]
port=8009
host=penpc30
tomcatId=penpc30
graceful=0
disabled=0

# define worker for server 1
[ajp13:penpc06:8009]
channel=channel.socket:penpc06:8009
group=lb

# define worker for server 2
[ajp13:penpc30:8009]
channel=channel.socket:penpc30:8009
group=lb

# Uri mapping
[uri:/webflex/*]
group=lb

also,on each jboss server,I set


or 


every thing works fine,I can see both server hit if I open 2 browsers

but once I shut down one jboss by close the window,the web application r which connect 
to this jboss doesn't work if the page need session.looks like the session didn't 
replicated to another jboss server.I have to ask the user login again.
how can I make the session failover work?

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827134#3827134";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827134>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user