Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!

glb anil singh

Greenhorn
+ Follow
since Apr 28, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by glb anil singh

Hamzah Khamash wrote:Can you share your web.xml there is a tag <welcome-file-list></welcome-file-list> which we put the welcome pages .




thank you for replying.
this is the tag from my web.xml.
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

but problem is when we type this address "www.webjyotishi.com" in the address bar of browser it search index file in www folder or public html folder.

but when we upload a war file it goes to apache tomcat root folder .

thats why i have to redirect the request from "www.webjyotishi.com" to "www.webjyotishi.com/web"

/web is a mapped address where the actual index.jsp exists.
8 years ago
I have a website "www.webjyotishi.com" hosted on apache tomcat server.

i have uploaded my website as a war file.

but by defalt the index.jsp is not displaying.

I have to use this an extra file "index.html" to redirect the control to the war file.
index.html contens this line

<meta HTTP-EQUIV="REFRESH" content="0; url=/web/">


I have some doubts

1. Is this a good or bad prectice?
2. does it affect my website ranking in google
3. is there any other way?


8 years ago

Bill Clar wrote:I had a similar problem when too many database connections ran amok without being properly closed and sent back to the Connection pool. By closing every connection I was able to eliminate Tomcat crashes.

I'm not saying this is the source of your problem as I don't know your application. You may need to look into profiling software to check for memory leaks.



thank you clar for the clue. I am going to check my database connections.
8 years ago
apache tomcat server has stop services after some times. then i have to start it. my website is deployed on cyberhost.

bellow is logs of the server.


Sep 11, 2012 10:30:43 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-4844
Sep 11, 2012 10:30:44 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Destroying JForum...
Sep 11, 2012 10:30:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jforum] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Sep 11, 2012 10:30:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jforum] appears to have started a thread named [HSQLDB Timer @1567e6c] but has failed to stop it. This is very likely to create a memory leak.
Sep 11, 2012 10:30:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jforum] appears to have started a thread named [File Reaper] but has failed to stop it. This is very likely to create a memory leak.
Sep 11, 2012 10:30:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/key] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 11, 2012 10:30:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/web] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 11, 2012 10:30:44 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-4844


Is there any permanent solution of this problem?
8 years ago

Jeanne Boyarsky wrote:Click the "Admin Control Panel" link and then click "Configurations." This is where you change titles, descriptions and other global information.




thank you for your valuable response, sir.
8 years ago
Dear Sir can I change the main heading("My Forum - your board description") on the main page of the forum?
8 years ago