[JBoss-user] [Installation, Configuration & Deployment] - Re: How to access Jboss AS through URL without specifying po

2006-06-28 Thread xijia_chen
I just tried an port forwarding approach.
it works for me.

run one linux command as root
to forward port 443 -> 8443 ,
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 443 -d 192.168.x.x -j DNAT 
--to 192.168.x.x:8443

The credit goes to 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to access Jboss AS application through URL without speci

2006-06-28 Thread xijia_chen
Greeting...

I am running Jboss AS application on Linux.
I try to find some way to configure the Jboss AS and/or domain on linux so that 
a user may access the Jboss AS application through URL without specifying the 
port number (i.e. http://www.mydomain.com, not http:/www.mydomain.com:8080).

There may have two ways to do it
1. How can we configure the domain on linux to set the default port to 8080?
   ( I prefer this way, if it is possible).
or
2. We may have to forward port 80 to 8080.
I read one post about this topic, but it is not clear for me. I am not sure 
it is a right way or not.

Would some experts provide some suggestions?

Thanks in advance!

Frank 


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Failed to reach an application on JBOSS AS running on a

2006-06-22 Thread xijia_chen
Peter,

It works now after I did some other twists in my server/network 
configuration(e.g.. 8080 was used for some other purpose, I have to use another 
port for jboss as, etc.). 

The direction you pointed at is exactly right.

Thanks a lot for your help and quick response!

Best Regards,

Frank

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Failed to reach an application on JBOSS AS running on a

2006-06-22 Thread xijia_chen
Peter,

Thank you for the quick response.
the iptables is not active (when I run chkconfig --list iptables, I see all are 
offs) in my case I think.
do you still think it is caused by iptables?

Could you tell me how did you setup the iptables,
did you update etc/sysconfig/iptables directly?
after you added the port 8080, do you need restart the linux system to make the 
new iptables rule effective?

Thank you!


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Failed to reach an application on JBOSS AS running on a rem

2006-06-22 Thread xijia_chen
 Greeting
 
 I install JBOSS AS 4.0.2 on a linux env, deployed an ear (war +jar) to the 
application server and start the JBOSS AS successfully( without seeing any 
error) by running sh ./run.sh.
 
 But, when I tried to reach the application (on a remote server machine running 
linux and it is not in the same network as my laptop is) through
 http://[the server's ip address]:8080/index from my laptop,
 I did not see anything happen on the server end, and I did not get anything on 
the web browser on my laptop.
 
 I have not setup my domain name yet.
 The remote server machine do have a valid public IP address and available 
through internet. I can ping it successfully.
 
 I can run the appliciaotn with JBOSS AS 4.0.2 stored on my laptop, and access 
it through http://localhost:8080/index without any problem.
 
 Would some expert tell me what cause the problem?
 I am wondering I may need configure some file, but do not which one(s), I 
tried some ones, did not work.
 
 Thank you in advance!
 
 Frank


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: violates loader constraints

2005-12-23 Thread xijia_chen

Basically, the error caused by unsafed java type if both of war and ejb-jar in 
your application try to access some "shared" java classes/objects, but the 
"shared" java classes are duplicated in war and ejb-jar.

To fix the problem, you should try to reorganize the application structure and 
configuration file correctly, so that the shared java classes(by war and 
ejb-jar) have only one apperance in the application/file structure.

There are two ways to fix the problem.
1) you may put all files shared by war and ejb-jar to a libraby developed and 
built by yourself, say common.jar, and added the following to your jboss 
applicaiton.xml.

common.jar


OR,
2) you may put the shared files in ejb-jar only, which can also be accessed by 
war.

either of the above approach should work(I tested both of them, works well).

Sorry for the late response. Was busy at a project work.

Happy Christmas and New Year !

Frank
Sun Certified Enterrpised Architect
[EMAIL PROTECTED]

12/23/2005


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: violates loader constraints

2005-11-11 Thread xijia_chen
Thanks, Adrian.
Sorry for posting the question to the wrong forum.
New to the community also, learning...:).

I will certainly ensure to post question to the rgith forum next time.

FYI...
I have identified the cause of the issue I posted and found a solution to it.

Hope this post will close the topic in this forum(I know it is wrong forum for 
the topicjust try to close it.)

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - violates loader constraints

2005-11-09 Thread xijia_chen
I am new in JBOSS. evaluating it. while I am developing/testing a prototype. I 
got the follwong error:
{
19:48:54,032 INFO  [AFacadeSessionBean]  AFacadeSessionBean.getTestTO() done, 
tto=userid=, pwd=,
 lastName=WebLogic Application Server fundamentals, firstName=, middleInitial=, 
contactInfoId=
19:48:54,042 ERROR [[A Dispatcher]] Servlet.service() for servlet A Dispatcher 
threw exception
java.lang.LinkageError: Class com/acom/app/common/bean/TestTO violates loader 
constraints

}

basically a sessionbean get data from db correctly and set it to a TO(transfer 
object) correctly, but somehow, whe a dispatcher servlet try to get the TO, 
jboss throw the above error

Could some JBOSS SR./expert give some help on this issue?
Thank you in advance!
FC.


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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user