I get this error or my jsp page every day:
java.net.SocketException
MESSAGE: Broken pipe
STACKTRACE:
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(Sock...
Dear friends,
I need an advice for best practice for a distributed system architecture.
I need to use Java and MS SQL server 2008.
The main program flow I as follows:
New data is loaded into the database, usually from external process or via ETL.
A main process should monitor periodically for new data in the database.
Once new data i...
Im using ubuntu and tomcat6 for my server. When im calling a servlet or a jsp page, the "logger" (System.out.println()) logs into the syslog of the server /var/log/syslog. How can i change this, that the server will write in a own log file like the catalina.out?
The problem is that there are no line breaks in my syslog (i used \n in th...
Hi,
I get the below stack trace when I hit a servlet that retrieves some information from a database and populates a html template. I'm unclear if its an issue with writing to the disk or the connection to the browser?
java.io.IOException: Stream broken
at org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Ajp12Co...
I am making a small website as my first project. I have finalized to use Java Servlets and JSP for my Server-side scripting. I am learning it from O'Reilly's HeadFirst Servlets and JSP. I decided to use Apache-Tomcat as my web server and container. I downloaded it. I even have jdk 1.6 update 21.
I unzipped apache in C:
It is running suc...
We have an application using an Oracle StoredProc. When the stored proc is upgraded or recompiled from outside of our application, the database connections have to be closed and reopened. Otherwise we get an Oracle Exception ORA-20003.
Until now, we were using a WebLogic specific solution, where we were throwing a specific Exception and...
The application I just inherited defines .tag files - ie JSTL tags written in JSP and other JSTL tags. Is it possible for Tomcat to pick up on changes to .tag files and recompile/reload them without a restart, in the same manner of "development" mode for JSPs?
Edit I should have noted that the context is marked as "reloadable" in Tomca...
I am getting this message when I run my web application. It runs fine but I get this message during shutdown.
SEVERE: A web application registered the JBDC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered...
I need the log where tomcat puts 404 type errors.
I am using: tomcat 6 on Centos 5.2
I have been getting 404 errors in applications deployed on tomcat. I was unable to find the logs where tomcat puts messages when it is unable to find requested files and other simple errors.
- I am not talking about stuff logged by applications, just 40...
I have a maven project created with maven-archetype-webapp. As i use on Windows machine, the project generated by Maven has a "Run on Server" but when i create it on Linux machine, it doesnt have. Please tell me how can i enable it.
Thanks
...
I am aware that Google App Engine can capture email and fire a function, but I would like this functionality in a Tomcat, Glassfish, or any other Java server.
I would like to avoid setting up a mailbox and running a cron job every few seconds or minutes. A Java class and some server configuration would be ideal, but I have no idea where...
I'd like to better understand the reasons for .NET's application server model compared to that used by most Java application servers.
In most cases I've seen with ASP.NET web applications, business logic is hosted in the web server's asp.net hosts processes. Another common approach is to have a physically or logically different tier wh...
Greetings, I am developing a webapp that requires setting up a DataSource with JNDI using Enterprise JDBC Classes.I am using the Netbeans 6.9 bundled tomcat (6.0.26 app) server with mysql 5.xx.The issue really is that I can still see the database values from a relation being displayed in my jsp page whereas during the tomcat initializati...
Facts:
1 Tomcat installation , 1 MySql and 2 applications ( app1 and app2 )
Hosted on shared hosting, so most of admin stuff with mysql is not possible
When tomcat is started the applications ( both app1 and app2 ) are working fine
After about 30 minutes... I try to log in my app1
Sometimes it logs in and sometimes it just sits there a...
We have an servlet that uploads files from customers and stores them on our server. Every few weeks the servlet fails with the following error:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.la...
Dear members,
How to create and run GWT web project in eclipse with tomcat or another app-server?
I created a Gwt Project and when i run or debug it, eclise did use GWT hosted mode server.
I can not find and configuration in project properties to select tomcat or another server for the project/
Regards
...
Hi folks,
In my application I want to download file from sftp server and for that I written one program but now I want to test it whether its working fine or not.So I need one public sftp server so that I will download any file from it.I know public ftp server but dont know about any sftp server.So can anyone know such sftp serv...
I'm trying start java application but in browser i see standard tomcat's page.
Server Log
cmd /c "E:\disk C\prg_plus\apache-tomcat-6.0.16\bin\catalina.bat" run
Using CATALINA_BASE: C:\Documents and Settings\compiler\.IntelliJIdea90\system\tomcat\Unnamed1_untitled1b081ac9b
Using CATALINA_HOME: E:\disk C\prg_plus\apache-tomcat-6.0.1...
I downloaded Apache Tomcat 7 to use with NetBeans 6.9. I followed the installation as best as I could. I think I did everything OK. when I tried to get to the Tomcat welcome screen but typing http://localhost:8085, which is the port i set when I installed Tomcat, I got the error Oops! Google Chrome could not connect to localhost:8085. ...
For example: Once a user logged in, server side then needs to route the http traffics to a certain tomcat instance because all his/her files(not in DBMS but in local HD) stored on that machine and there will be interactions between the web app and underlying FS. Anyway to do this?
Thanks!
...