thanks for the reply, I have put up a site in root.war so I can not use it I belive.
please move this to jboss section....[I was lil bit confused whether to put in jboss or struts]
I have two struts applications running in JBoss AS 5.1 and I have provided virtual host for these applications.Two applications are running under one virtual host IP. So when I try to enter the IP (virtual host) the welcome file is not loading. server says file not found. As there is same welcome file in both of these applications.
So I want to make one of the welcome file from one application to load as soon as I request for that IP.
Both of the applications have their own context path (not /).
Actually there was not much of delay in loading the applications. In fact the applications were loading very slow coz of the internet security enabled in my system.
So once I disabled the Kaspersky internet security, applications started loading very fast (3 seconds max).
We are in the process of moving to new server infrastructure
details:
Intel Xeon quad core
-2 CPUs
RAM 8GB
swap 4GB
We have hosted two websites and two applications on a single JBoss AS 5.1 server [virtual hosting]. 2 applications hosted on a single IP [virtual host] and one website with another IP[ localhost] and one more website with another IP[virtual host - a simple website with static pages]
so far so good....
When it comes to the performance of the applications, which are running under virtual hosts are very slower compared to the websites running in localhost and virtual host.
1.Is this a problem with JBoss configuration or it has something to do with firewall settings of the IP?
coz the primary IP, i.e. localhost is loading faster but virtual hosted applications are very slow and the other IP address were added later to our server.
2.How to specify/inform the JBoss/JVM about the availability of the multiple processors? I have used -XX:ParallelGCThreads=8 is this enough are something more has to be done?
Please suggest me some workaround for these issues.
We are migrating the server from jboss 4.0.0 directly to jboss 5.1.0. This migration is in production environment.
As we noticed that jboss 5.1.0 is the last stable version available, we would like to confirm if there are any major issues that will degrade the performance of the server or causing more maintenance issues after application deployments.
I have removed a org package which, I placed to solve this problem. Now there is no problem for loading the context(Life cycle Exception is gone), but when I try to login it throws an error like
coz Maincontroller servlet uses
So when FileLogger FileLog ; comes it says NoClassDefFound error......
And in lib folder of the application I have no jar files.
javahome..../default/lib/ folder contains
I am trying to deploy a working application war(exploded) into jboss 5.0.1, but it is getting failed and I think there is some problem with setting classpath for org/apache/catalina/logger/Filelogger.class.
the stack trace of the server looks like below...
javax.management.ReflectionException: Cannot find method addChild with this signature could any one throw some light on this?
My friend has found out the solution for this problem, there was a jar file placed in multiple places.
So that guy was creating all the trouble to my application from running.
Jboss 5 is very strict with duplicate jar files and also the parsing.....
Currently all the features of my application are running ......
but i have some other doubts i ll come up with them in my next post.......
And I am using:
classes12.jar file as oracle driver(placed in jboss-5.0.0\server\default\lib folder)
Jboss 5.0 AS
oracle8i as Database (soon will be changing to 10g)
JDK 1.6
Could any one tell me why am I getting this error, when the same code works fine in jboss 4 AS.
I want to migrate from jboss 4.0 to jboss 5.0.1 AS. So when i tried to deploy my application I am getting this error.
The error is shown in web.xml file of my application and the code which is giving problem is given below...
server log says com.ms.common.utils.Invoice
<ejb-ref>'s could not be find the interface Invoice