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
The awnser is you cant, it has to be set at run time through the calling program.
final String wsdl = "http://localhost:9001/anti_virus/AntiVirusProcess?WSDL";
and then call your stub with the argument parameter
AntiVirusProcess_Impl ws = new AntiVirusProcess_Impl(wsdl);
And it works.
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...
It does throw a null pointer exception, I am using a wrapper written by someone else. I am writing straight into a database clob via a writer and not using the ByteArrayOutputStream, hence the null pointer exception.
Need to go back to the drawing board and think of another way of counting the...
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...
...BEGIN
IF p_flag = -1 THEN
truncate_text := 'TRUNCATE TABLE ' || p_tmp_table_name;
EXECUTE IMMEDIATE truncate_text;
sql_text := 'SELECT * FROM (SELECT ROWNUM, tbl.* FROM ' || v_table_name || ' PARTITION (P1) tbl
WHERE FILENAME IS NULL ORDER BY m.NATIVEDATA_ID)
WHERE ROWNUM <...
...IN NUMBER
p_how_many_rows_to_fetch IN NUMBER,
p_table_name IN VARCHAR,
p_row_data OUT RowDataCur) IS
BEGIN
OPEN p_row_data FOR
SELECT * from ||p_table_name||;
END pr_LoadNativeDataItems;
END pk_LoadNativeDataItems;
Thanks for any help
Tony
...to add the following to my web.xml
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
This called the following error:
SEVERE: Parse Error at line 7 column 80: Attribute "types" must be declared...
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...
Sorted the problem
the tag in StoreAccessBean
@ejb.ejb-ref ejb-name="Customer"
view-type="local"
ref-name="CustomerLocal"
generates the following in the ejb-jar
<ejb-local-ref >
<ejb-ref-name>CustomerLocal</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>...
Yes I am its the Tutorial for building J2EE Applications using JBOSS and ECLIPSE Chapter 3 problem.
Is what buka suggesting is that in the jboss352all.server you replace
label="Server Configuration (minimal/default/all):"
with
label="Server Configuration (server/default/deploy):"
But I still...
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...
Hi Sedji,
The unix guys tried to ping the server but could not so it looks as of it is a server name IP address which could not be resolved problem.
Thanks.
Tony
Re: a host file pointing to the wrong server or something silly like that.
That may be the problem, I have put some debug code in which when I get the chance to run it may show up the problem>
String urlName = (String)session.getAttribute("urlName");
System.out.println("urlName "+urlName)...
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...
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.