Hi All,
I m new to
JSF, spring and Hibernate web application. I have done a web project using JSF, Hibernate and Spring. We have to maintain the Data records which is stored in mysql db. Now there are different table is there such as example Employee Details and Company Details. So we created two seperate application o tomacat, For both Application we use same functionality except the
JSP FILE Name and table name (Which is changed according to Application).
In the employee.hbm.xml
I changed the table name according to application. Two table (Company Details & Employee Details)...
Now while running the application on the
tomcat server, only one application is running at a time. if we start running the Employee Application, then Company Application is giving the below error,
Error in Log:
The resourse is already in used/busy.
Interesting thing is only one Application is running at a time and other is in stop status.
Could you please help us, how to overcome the error,
Is it not possible to run both the application on different browsers.
In logs the below error is showing:
java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted. Error on console: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0_07\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Support Tools\;C:\Program Files\java\jdk-6u3\jre\bin\client;C:\Program Files\MySQL\MySQL Server 5.0\bin
Sep 18, 2008 12:46:58 PM org.apache.coyote.http11.Http11BaseProtocol init
Could you please give some idea to sort out the below issue. Could any one help me to run the same applications on the tomcat server. In web.xml what changes is needed so we can run both the application.
Thanks in advance.