Shivaprasad P Kanaganahallimath

Ranch Hand
+ Follow
since Sep 25, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Shivaprasad P Kanaganahallimath

Hi Sagar,

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]



15 years ago
Hi all,

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 /).


thanks and regards
Shivaprasad P.K.
15 years ago
Hi all,


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).



thanks to all of you for all your support.....



regards
Shivaprasad P.K.
15 years ago
Thank you guys for your valuable reply.

The OS used in our servers is RedHat Linux with 64bit edition

uname -a

Linux test.ussntc19.savvis.net 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux



cat /proc/cpuinfo


and the java installed is 1.6 64-bit
I will surely go and check the above mentioned chapter in JBoss in Action.....


15 years ago
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.
    15 years ago
    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.

    Technologies used:

    a) EJB 2.0
    b) Struts 1.2
    c) Oracle 10g
    15 years ago
    @ peter

    Hi,

    thanks for replying.....

    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
  • jboss-j2se.jar
  • classes12.jar


  • 15 years ago
    Hi friends,

    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?

    thanks in advance....


    ............................JBoss Rules..........................
    15 years ago
    Hi guys,

    How to host multiple sites on a single Jboss server v5?
    Is there any sample application related to this?




    15 years ago
    hey guys thanks for your help....

    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.......
    15 years ago
    ohh,
    the problem is resolved after checking

    www.jboss.org

    and now it is displaying the user ID, but still I am not able to login to my application.

    When i gave the correct login id and password (which is working in jboss 4.0), I am getting the following error





    15 years ago
    1)DBTest.jsp



    error message




    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.


    thanks and regards



    15 years ago

    thanks for the reply

    Ohh sorry for that..

    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



    15 years ago
    Hi folks,

    The following error is coming when I tried to move from jboss 4 to jboss 5.





    I checked for the presence of that file and the same is present in the jar file.



    please suggest me whats wrong
    15 years ago
    And the method is as follows .....

    public Connection getConnection()
    throws Exception
    {
    Object obj = null;
    try
    {
    InitialContext initialcontext = new InitialContext();
    DataSource datasource = (DataSource)initialcontext.lookup("java:comp/env/DBConnect");
    return datasource.getConnection();
    }
    catch(Exception exception)
    {
    throw new EJBException(exception);
    }
    }



    Yes it was bound properly to all the names... all of a sudden it starts working
    16 years ago