So far, the tutorials are for older versions of Eclipse and Tomcat, but there are subtle differences that are causing me problems, mainly the fact that I follow the steps to the best of my ability and end up with a tutorial that does nothing. The main difference is that the various project types have been restructured and the directory s...
I know Java and i've built some stuff with Swing. However, how can I do web development in java? I'm used to PHP/MySQL and I have Apache installed on my dev machine. How can I get it to run java servlets? And also, which database is the best for Java web dev? I'd still prefer to use MySQL.
Please give me some steps I need to take to be ...
Hi there,
Is it possible to use CXF with Tomcat and without Spring?
...
This might be a very odd question, but some hints or guidelines will be very helpful. We want to "session proof" our web site, basically make sure that two different sessions generate the same link structure (e.g. Both user-a and user-b will get the same links in the same web page).
The reason behind this test, is that our web site i...
I'm probably going to be doing an independent study in College next semester on Java web programming with technologies such as Spring and Hibernate. I'm looking for something that can sit in the corner of my dorm room with out being loud and drawing a lot of power. The machine needs to be able to run a very low traffic tomcat and Mysql s...
In Tomcat (and some other servlet containers) I can store information about my JDBC DataSource in META-INF/context.xml. This is very useful.
However, the settings for my JDBC DataSource can be different in my development and production environments. I'd like to know how other people deal with these differences in an elegant way, specifi...
I'm having trouble installing Tomcat on my windows XP machine. I already have Apache and JDK 6 installed, what I need to know is:
Which file to download from the Lastest Tomcat download page
And how to install it so I can run the sample web app by going to http://localhost/
In my C:\Program Files\Java folder, I see the following fold...
I'm using Teamcity to run CI which works great, apart from one thing: when my webapp is deployed to the web container (Tomcat 5.5) after a few times Tomcat runs out of memory. This is something that you see in development as well, but it's not such a huge problem since then you can restart manually any way - with CI it's all automatic wh...
At present we deploy to JBoss 4.2 as this is the application server deployed on our cluster. The application currently only makes use of JBoss's connection pool handling through JNDI and the JBossWeb's embedded Tomcat and a couple of JBoss' Tomcat valves (specifically RewriteValve, nothing too difficult to do ourselves).
JBoss seems li...
I have an OSGi plugin with an activator that I am requesting to start under my tomcat jsf project.
Based on: http://www.eclipse.org/equinox/documents/quickstart.php and some other docs, I have placed this structure under my WEB-INF directory to start the equinox implementation of osgi. I have been able to access plugins directly, but n...
When deploying my OSGi web application using the equinox servlet bridge i get the following:
log4j:WARN No appenders could be found for logger (org.springframework.osgi.extender.internal.activator.ContextLoaderListener).
log4j:WARN Please initialize the log4j system properly.
I tried several ways of supplying the necessary "log4j.prop...
I'm developing a webservice with Axis2 1.4.1 on JBoss 4.2.3/Tomcat 5.5.27 and Java 1.5.0 (15-b04). It works flawlessly but when an exception happens I get a JBoss error 500 HTML page instead of an Axis2 XML/SOAP fault.
This behavoir is vexing, because it difficults to handle errors in the webservice client or in SoapUI while developing....
I'm looking for a CMS (content management system), where users can manage, create and edit online articles, as a part of an application to be developed. The application to develop is a web application running on Tomcat, with a PostgreSQL connection and using the Spring web framework. I'm looking for a CMS, which can be seamlessly integra...
I'm switching from Tomcat to Glassfish for an app server. Glassfish is so much more complicated its a little overwhelming. Anyway now I'm getting an exception:
java.lang.NullPointerException
at org.apache.jsp.jsps.login_jsp._jspService(login_jsp.java from :67)
Where tomcat shows you the line number and gives me some information on ...
Every time I look at Tomcat's catalina.out log file, I see double lines for every log entry. Why is this happening? Has this happen before to any Java (Tomcat) users?
...
I'm considering building a web app using Java and Google Web Toolkit and I have some questions.
I assume that when someone goes to a URL such as http://site.com/Signup, the Signup servlet will be loaded which will perform all the necessary work and forward the request to a JSP that would display the HTML and Javascript code.
If there i...
We are running an web application that is using Java 64bit 5 gigs of -Xmx of maximum heap size. We have no control over the java code. We can only tweak configuration parameters. The situation that we are facing is that the java processes after it takes the full heap allocated at start up, it starts acting very responding very slow to...
I'm trying to create a simple web project using Tomcat in Java.
In the web.xml file, I point to a servlet that I want to be run when someone goes to http://localhost:8080/MyProject , so I used / as the URL pattern. That worked, however it has the disadvantage that all links to html and javascript files are being passed on to the main se...
I want to set up a reverse proxy from one of our intranet IIS sites to point to another tomcat server. Eg, i want the user to browse to 'http://our-iis-server/friendly-url' and for it to reverse proxy to 'http://our-tomcat-server/ugly-url'.
What would be the best solution for this? I've narrowed it down to three options:
http://www.ma...
I've set up Railo v3.1 using Tomcat v6 - on a Windows 2008 (32bit) server.
Everything seems to work fine, except that no matter what I try, I can't get it to recognise my default document (index.cfm)
So:
http://localhost/index.cfm = fine
http://localhost = 404.3 error
If I look at the error, it seems that IIS7 is using the static fil...