S Sand

Greenhorn
+ Follow
since Oct 08, 2004
Merit badge: grant badges
For More
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 S Sand

padre! Amit
I just thought i feed you some fresh fodder, So we are not talking about whole USA [white, black people] , but just H1B holders in this forum. So correct me if i'm wrong this forum is to H1B or not H1B. I see folks here opposing H1B's and some Indian folks wanting it, it's a better life in America, Come on! just admit it. So now if H1B are stopped altogether and no more Green Cards for some reason, and it might you never know, just like Bush decided to invade Iraq. Then you are screwed, you gotta get back to India. But your kids [ABCD's]{who are born here} will get to stay here, is it?... fair trade! If so ......be it. Ahmen, worship the HOLY COW!
[ November 16, 2005: Message edited by: S Sand ]
18 years ago
So what about the second generation immigrants like ABCD's [American Born confused Desi's] why do they get to be lucky. After all their parents came here to clean up MOTELS,GAS STATIONS and write software programs. They should also be kicked out of this country along with all Indians.
[ November 16, 2005: Message edited by: S Sand ]
18 years ago
The latest book i can get on amazon is Sun Certified Programmer & Developer for Java 2 Study Guide (Exam 310-035 & 310-027) (Paperback) - Publication date- 2003. Can anyone tell me when will the latest edition come out which covers Java 1.5 exam. And Complete Java 2 Certification Study Guide (Paperback) by Philip Heller does not have good reviews which cover Java 1.5
an MDB APP
shows
Caused by: javax.jms.MessageFormatException: MQJMS1061: Unable to deserialize object
some of the links point towards
http://www-1.ibm.com/support/docview.wss?uid=swg21040344
http://www-1.ibm.com/support/docview.wss?uid=swg1IY67371
http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=D600&uid=swg21201666&loc=en_US&cs=UTF-8&lang=en
looks like we to have a Fix Pack 8 and 9 and The message size for the receive buffer was incorrect, need to set it correctly. any idea to do this config
thanks Bill for the reply, i do have put the following paths in LD_PATH of wsstart script of WAS which starts the AppServer.

libocijdbc9.so in

/xxx/run/tp/oracle/client/v9.2.0.1.0/lib



and also i have ojdbc14.jar and ojdbc14_g.jar at

/xxx/run/tp/oracle/client/v9.2.0.1.0/jdbc/lib

but still i have the above error
18 years ago
Hi i'm having the folowing problme

Initialization of bean failed; nested exception is java.lang.UnsatisfiedLinkError: Can't find library ocijdbc9 (libocijdbc9.so) in sun.boot.library.path or java.library.path
sun.boot.library.path=/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/java/bin/../jre/bin
java.library.path=/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/java/bin/../jre/bin:/sbclocal/ apps/IBM/WebSphere/AppServer/SF5112/Base/java/jre/bin/classic:/sbclocal/apps/IBM/WebSphere/ AppServer/SF5112/Base/java/jre/bin:/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/bin:/opt/mqm/ java/lib:/opt/wemps/lib:/usr/lib


i have the libocijdbc9.so in

/xxx/run/tp/oracle/client/v9.2.0.1.0/lib

and have given it on process definition/JVM as well

and also i have ojdbc14.jar and ojdbc14_g.jar at

/xxx/run/tp/oracle/client/v9.2.0.1.0/jdbc/lib

and have given it on process definition/JVM as well


but still i have the above error

pls help
18 years ago
Ok.....
So i checked the web.xml it is fine
I did the run on server on my servlet
I checked the port- it is 9080
I rght.click in my EJB project in WSAD and did RMIC

But still i have the error, please see my console and help me

EJBContainerI I WSVR0041I: Stopping EJB jar: MDBSampleEJB.jar

EJBContainerI E WSVR0042E: Unable to stop MDBSample#MDBSampleEJB.jar#SampleMDB: <null>

Module, MDBSampleEJB.jar, of application, MDBSample.ear/deployments/MDBSample, failed to start

An occurred starting, MDBSample
Stopping application: MDBSample
Application stopped: MDBSample
Transport http is listening on port 9,080.
HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
RMI Connector available at port 2809
Server server1 open for e-business
OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /MDBSampleWeb/index.html has not been defined

so I am just assuming that my EJB project MDBSampleEJB is not be able to recognizse. For your information i'm doing the Lab on Chapter 27-Enterprise Java Prog with IBM Websphere by - Kyle Brown
19 years ago
Thanks Yonnis,
this really helped, but enterprise std's do not want any jar's to be placed in Process Defn/JVM. So after a lot of changes, i figured tat it was not checked in MANIFEST.MF. But now it;s working.

But i still have a Q for you- What is the concept of PARENT_FIRST and PARENT_LAST
19 years ago
our problem was application xerces.jar in the app server classpath ( Process Definition/Jvm Arguments/classpath) from admin console is not recommneded by many Admin team. Check tat particular jar file is in the EAR file and put a check mark in META-INF/MANIFEST.MF also, this should work.
19 years ago
My prob is similar, i'm have using WSAD as IDE and it has a built-in test Env. I have fileServ=true in ibm-web-ext.xmi, all my app works fine when i run the server and test. But when i do fileServ=false for Apache to servethe static content in ibm-web-ext.xmi, my app doesn't work, i.,e http://localhost..../welcome.html gives a page not found. And i have all my static files scattered under WebContent folder.

Also i deploy it to our Development Env, where there are seperate instances of Webserver and AppServer and it doesn't work there either. I tired doing as mentioned in the link, but no success
-In the WebSphere Application Server administrative console, expand the Environment tree control.
-Select Update WebSphere Plugin.
-Stop and restart the HTTP server and retry the Web request
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rtrb_pagedisplayprob.html.

can anybody help
19 years ago
I'm havin a silimlar problem, i' using WSAD 5.1.2 and have jdom.jar in the classpath. I tried doing the PARENT_FIRST, PARENT_LAST in application tab of Test Server. E SRVE0026E: [Servlet Error]-[(class: com/, method: convert signature: (;)Lorg/jdom/Document;) Incompatible argument to method]: java.lang.VerifyError: (class: , method: convert signature: ( Incompatible argument to method

Can somebody reply to this problem
19 years ago
Thanks Junulu for replying
i' have the struts-logic.tld in WEB-INF/lib folder,
when i try to copy or move to WEB-INF WSAD[websphere stuido app dev] sayd remanme it, maybe i should cut and paste

Also my main concern is whether my approch is right, normally how do you display a ArrayList object in a class on to a JSP page
-Using struts framework :iterate tag?
-Normal jsp:UseBean?
-Write a Scriplet?

Please advice a step by step code will be great
19 years ago
Hi
I have a class



import java.util.ArrayList;
import java.util.Iterator;
//import java.util.Collections;

/*

*/

/**
*
public class ArrayList_Test {

public void myMethod(){

ArrayList a = new ArrayList();
//String str = "test";
//a.add(str);
try{

a.add("India");
a.add("USA");
a.add("Britian");
a.add("Australia");
}catch(Exception e)
{
System.out.println(" "+e.toString());
}

System.out.println(" My Array List"+ a.toString());
Iterator I = a.iterator();
while(I.hasNext())
{
System.out.println(" NEXT "+ I.next());
}

}
public static void main(String args[]){
ArrayList_Test b = new ArrayList_Test();
b.myMethod();
}

}



Now i have a JSP page



<%@ taglib uri="struts-logic.tld" prefix="logic" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
<TITLE>ArrayList.jsp</TITLE>
</HEAD>
<BODY>
<P>

<jsp:useBean id="array_test" class="ArrayList_Test" scope="application">
<jsp:setProperty name="array_test" property="*"/>
You entered<BR>
Name:<%/**= array_test. myMethod()**/%><BR>

</jsp:useBean>

<logic:iterate
id="array_test" type="id"
name="a" scope="application"
<LI>
The Id is: <jsp roperty
name="array_test" property="id"/>
</LI>
<logic:iterate>
</P>
</BODY>
</HTML>



now i'm getting getting this error

"Broken Link - /ArrayListJSP/struts-logic.tld - Standalone TLD files must be under the WEB-INF directory. ArrayList.jsp ArrayListJSP/WebContent line 1"

I'm using WSAD for development and trying to display the ArrayList values in the above JSP page, pls see what's wrong, i'm a novice and step by step help will be good and i also have STRUTS support enabled. It would be good if i use STRUTS framework


thanks
19 years ago