I am building a War file using the Weblogic 8.1 servicegen task, but either it wont allow you or there are no good examples on how to add a jar file to a war file WEB-INF/lib
Thanks for any help
Tony
I am using servicegen to create my wdsl file. In the build script I have set the port to the port that weblogic is running on. The problem is that when I run servicegen ant task, it sets the soap address to
<soap:address location="http://localhost:7001/process/myProcess">
</soap:address>
7001...
I am writing to a ByteArrayOutputStream after every write I want to check how many bytes has been written.
So I call ByteArrayOutputStreams method size(), but instead of returning an int, it is returning a null pointer value.
Would be gald of any help in the correct way in calling the method...
I need to do a select from a table that is unknown until runtime. Is there any good examples of this. The Store Procedure will take in the table name and return a row.
I am not using inline SQL because there is a lot more complexity involved . What I need to do is understand how to reference...
am attempting the Struts tutorial for struts 1.1
http://www.coreservlets.com/Apache-Struts-Tutorial/Struts-Actions.html#Ex2-Step4.
When I try to run the first example I get the following error:
error description: The requested resource (/actions/register1.do) is not available.
The JSP has the...
have a method that will take in a string and convert it into a Date using DateFormat.
The problem is that I am not sure what the format the string should take.
I used the date : "15-Jul-1999" which through up a java.text.ParseException: Unparseable date: "15-Jul-1999"
All I need is the day...
I am getting the following error :
javax.naming.NameNotFoundException: StoreAccessBean not bound.
In my Jboss.xml I have the following code:
<session>
<ejb-name>StoreAccess</ejb-name>
<jndi-name>StoreAccessBean</jndi-name>...
I am currently running the tutorial http://www.roseindia.net/jboss/buildingwebapplicationwithant.shtml.
I have created a FirstProject.ear file and have deployed it to JBoss.
But I have got the following Error:
ERROR,AutoDeployer] DeploymentInfo...
I have an application, which is run on a dev and a production live box.
One of the functionality is to upload a document into a directory under webapps, and then allow someone to look at the doc through there browser
This works perfectly on the dev box and the UAT box ,but on the production box...
I have a difficult problem with no idea how to solve it.
The problem is as follows at the moment I have the following code
while(rs.next())
{
%> <form name="setlimits" method=POST action="controlservlet">
<tr>
<td>
<input type="text" name="new_limit"...
I have a difficult problem with no idea how to solve it. I think javascript is the best approach, but have very limited experience of javascript
The problem is as follows at the moment I have the following code
while(rs.next())
{
%> <form name="setlimits" method=POST action="controlservlet">...
I am trying to build poolman a tool that u can use with tomacat it pools databse connections>
When I try to build the application I get the following error message:
C:\poolman-2.0.3\build>build
Buildfile: build.xml
init:
prepare:
compile:
[javac] Compiling 48 source files to...
I have an intermittent problem with my application crashing trying to
use the. ServletResponse.encodeURL() method. This is traceable to the
ServletResponse object being null when the method is called.
This bug only seems to occur on the use of
servletResponse.encodeURL(string), and then...
posted July 12, 2004 09:01 AM
I guess this is a very numpty question, my browser is loading a page from the cache rather than the page I have updated. I guess this is because of an error in the updated page. What I want to know is how to I force Tomcat to pick up and...
I have created a war file uatest.war, which my local copy of tomcat jakarta-tomcat-4.1.12 can pick up and output to a browser.
I then FTP this war file to a tomcat running on unix, also version tomcat-4.1.12.
When I attempt to start tomcat on unix I get the following error message...
I am writing a script that will add a column to a table
alter table <table_name> add <column_name>
This table has a view so I have to add that column to that view, no idea how to do this.
Thanks for any help.
Tony
The aim of this application is to translate a en Var such as $PATH into its path such as /usr/bin.
Before I give the code listing and environment can anyone think of any UNIX reason that given echo $PATH, the application will output back $PATH and not the path /usr/bin.
My java code works as a...
am rewritting my web.xml file so that it points at a local web-app instead of the jboss web-app:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app SYSTEM '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'file:///C:/PanEuro-jboss-3.0.6/docs/dtd/web-app_2_3.dtd'>
<--!DOCTYPE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.