Aniket Pathak

Greenhorn
+ Follow
since Mar 13, 2006
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 Aniket Pathak

Lester Burnham wrote:Normally the SOAP stack would bind the data to data structures you keep on the server; or is this payload of a larger SOAP message that encapsulates this XML? Which SOAP stack and which API are you using?



Sorry but really not sure about the SOAP stack. I tried using Axis api to build the service.
I am just not able to get the proper implementation method. The XML given in the post will be sent to me by another application. So I need to host a web service to consume this message parse and process it with requires business logic and send a response back.
The given XML will be provided as it is without any inbuild large message or any object just plan values present in the XML tags.

Hope I have given the rite information required.

thanks.
13 years ago
HI,

I am writing my first web service for a specific request. I am going through lots of online document but not able to find a perfect link.

I want to write a Web Service which will get following XML message. Web service will parse this message and send a response if required.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:iiw="http://iiws.innotrac.com/INOC_ATS_IIWS/V7_2/outbound/shared/services/iiwsOutbound">
<soap:Header/>
<soap:Body>
<OrderConfirmation>
<OrderID>80634928</OrderID>
<OrderStatus>200</OrderStatus>
<OrderNumber>10014</OrderNumber>
</OrderConfirmation>
<OrderConfirmation>
<OrderID>891634445</OrderID>
<OrderStatus>230</OrderStatus>
<OrderNumber>10567</OrderNumber>
</OrderConfirmation>
</soap:Body>
</soap:Envelope>

Please help me with this or suggest me a link or any guidelines so I can take it forward.

thanks
13 years ago
Hi,

We are facing issue in getting Weblogic File server through T3Sevices from iPlanet web server. If we run a stand alon class we are able to get the file system, but when we do it from web application deployed on iPLanet web server, it throughs -
Caused by: weblogic.common.T3Exception: Unable to JNDI-lookup file services on the server
- with nested exception:
[javax.naming.NameNotFoundException: WEB3885: Name weblogic.fileSystem is not bound in this Context]
at weblogic.io.common.internal.IOServicesImpl.<init>(IOServicesImpl.java:35)
at weblogic.common.T3ClientServices.io(T3ClientServices.java:58)
... 16 more



Following is the code -

T3Client t3 = new T3Client("t3://host ort");

T3FileSystem myfs = t3.services.io().getFileSystem("xxxxFileSystem");
T3File myFile = myfs.getFile("xxxxxx/xxxxxx");
T3FileOutputStream os = myFile.getFileOutputStream();


thanks
15 years ago
Hi,

I am bit new to J2ME. As a requirement I am suppose to develop or research on building a mobile application which will communicate with a central server application to push and pull data.

I so far found USSD and GPRS (HTTP) as two feasible connectivity approaches. we want to further go ahead with USSD way. In few articles we encounter that J2ME do not support USSD or some kind of issues with the combination.

Please provide me some help on How should go ahead with USSD with my Midlet and any alternative methods to use messaging modes like USSD or SMS for application-server communication.

thanks & regards,
andy
15 years ago
Hi,

atleast any idea about what the exception is and what it is related to ???
Its bit urjent to resolve


Thankx and Regards
17 years ago
Hi,

i ma using Weblogic 7.0 ......... I got one exception in the weblogic log, Exception is as follows -

####<Nov 28, 2006 3:15:54 PM EST> <Info> <EJB> <atnyprd5>
<XXXServer1> <ExecuteThread: '83' for queue: 'default'> <kernel identity>
<11864 63651c3623375dd> <010051> <EJB Exception during invocation from home:
com.xxxxx.xxxxxx.xxxx.ejb.SecurityServiceEJB_q910az_HomeImpl@669053 threw exception:
com.xxxxxx.exception.XXXXXXEJBException: MSG: javax.naming.CommunicationException
[Root exceptionis java.rmi.UnmarshalException: cannot unmarshaling return; nested exception is: 1990
java.io.StreamCorruptedException: Type code out of range, is 63]null TIME: 0> 1991
com.xxxxxx.exception.xxxxxxEJBException: MSG: javax.naming.CommunicationException
[Root exception is java.rmi.UnmarshalException: cannot unmarshaling return; nested exception is: 1992
java.io.StreamCorruptedException: Type code out of range, is 63]null TIME: 0 1993
at com.xxxxxx.util.EJBUtil.handleSysError (EJBUtil.java:40) 1994
at com.xxxxxx.util.EJBUtil.handleSysError (EJBUtil.java:59) 1995
at com.xxxxxx.db.DbAccess.initConnection (DbAccess.java:98) 1996
at com.xxxxxx.db.DbAccess.<init>(DbAccess.java:37)


I am getting this exception while fetching a datasource connection from the connection pool of weblogic.

My applciation is running for past 2 years and we did not got this exception before, So I suspect there is no problem in the code......... where it is going wrong ???


Please help me in this......

Thanks and regards
17 years ago
Hi,

I am having a problem while starting up the server (./startServer.sh server1). Many times when I start the server it stops and do not complete the startup without giving any error/exception. I always need 5 to 6 attemots to start the server, after theses 5-6 attempts it starts and runs normally without any issue. But again when I restart it I need 5-6 attempts.

Following are the log details on which it stops -

[10/5/06 9:47:27:652 IST] 0000000a SibMessage A [:] CWSIC2001I: Messaging connections are being accepted.
[10/5/06 9:47:27:664 IST] 0000000a WorkAreaServi A ACWA0002I: WorkArea service not enabled on server1.
[10/5/06 9:47:27:891 IST] 0000000a AppProfileCom I ACIN0007I: The application profiling service started successfully.
[10/5/06 9:47:27:905 IST] 0000000a SOAPAcceptorC I WSSC1019I: The SOAP Acceptor Channel has been configured.
[10/5/06 9:47:28:128 IST] 0000000a CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[10/5/06 9:47:28:154 IST] 00000011 SibMessage I [cederaJMSBUS efaultNode.server1-cederaJMSBUS] CWSID0016I: Messaging engine DefaultNode.server1-cederaJMSBUS is in state Joined.
[10/5/06 9:47:28:244 IST] 00000012 SibMessage I [cederaJMSBUS efaultNode.server1-cederaJMSBUS] CWSID0016I: Messaging engine DefaultNode.server1-cederaJMSBUS is in state Starting.
[10/5/06 9:47:28:345 IST] 0000000a SchedulerServ I SCHD0031I: The Scheduler Service is starting.
[10/5/06 9:47:28:362 IST] 0000000a SchedulerServ I SCHD0001I: The Scheduler Service has started.

On the bove lines it stops. Please help me in this. What should I do or configure to avoid this issue.

Regards and Thanks
17 years ago
Hi,

no, I think things are getting clubs together. Following is the step wise description

1) I have a thread on execution of which websphere is giving exception
2) There are multiple processes included into the thread which uses DB connections.
3) In all the processes I get/create a new connection from connection pool of websphere and I also close it when that processes gets complete. As we do normaly.

So in the complete execution connection gets created and get closed. So Pool size (alive connections) should not get increaed so much. But it is getting increased which is the worry.

For debugging I increased the connection pool size to 30/40/70 etc. normaly I required around MAX = 30 Pool size.

When i doing proper management of connection i.e. closing connection when process is completed, why it should get exceeded upto 150.
Weblogic manages it very well and poll size in weblogic does not even cross 20 connection.


Please let me know if you want nay further information.
Thankx
17 years ago
Hi,

I am using connection pool. When I set pool size to anysize like 30 / 40/70 etc. It gives "Connection waiting: timed out" exception. So I set the size 0 which is unlimited.

Max: = 0
Min: = 0 (which has to be equal or greater than MAX size)

I am suspecting the same that when I am calling .close() method connections are actualy not getting closed. Is there anything else I need to add which may be websphere specifig so that connection will get closed. I search a lot on this problem but did not got any solutions.

Thankx
17 years ago
Hi,

yes I have made changes in the Oracle file and changed processes from 150 to 250 but still the exception remains same.

Actualy I migrated my application from weblogic to websphere and the same code is working fine in weblogic with same database. When I monitor PMI its gives connections more than 150. When the Oracle exception occurs all connections get closed.

I am closing all the connection after their execution gets over, but still in PMI i do not see any closecount increase. I am just wondering why its working fine in Weblogic but gives exception in Websphere ..........

Thankx
17 years ago
Hi,

As I mentioned I do some order processing in the threads. When ever I open any connection in a perticular method I call this cleanup method in after the execution gets complete.

my most calls to cleanup method is in "finally block".

Thankx.
17 years ago
Hi,

In my application I have some scheduled job which runs at a perticular time. In this I am dong some order processing. When I execute this job I get "SQL Exception: ORA-00020: maximum> number of processes (150) exceeded" exception.

I monitored the connection pool from PMI and found that connections are getting created but not getting closed. In the code I am properly closing the connection , I also confirmed that the code is getting executed. But in PMI CloseCount does not show any cloed connection.

Following is the code for closing the connection

public boolean cleanup()
throws SQLException
{
boolean conClosed = false;
if(resSet != null)
resSet.close();
if(stmt != null)
stmt.close();
if(prepStmt != null)
prepStmt.close();
if(conn != null)
{
conn.close();
conClosed = true;
}
return conClosed;
}

this code works fine in webslogic. There no such error there.

Please help me in this. Do I need to add any Websphere specific configuration or code to close the connection?

Thankx
17 years ago
One more thing,

As I mentioned I have problem with returning Serializable object, I observed that when my CMP bean returns some other serializable object from one method it also takes lot of time. So when ever a method returns a object of serializable class it takes huge time. just the "return (object)" statement, everything else in the method works fine.

Thankx.
17 years ago
Thanx for reply,

I have already done the DB tuning but nothing helped, its working fine with weblogic. WAS is only giving issues with this.

I am using oracle 8i. Actual case is, I Have serializable class which cache tha DB data for faster usage. I am calling a method of this class to get the its object, I do not make a direct call to that method as I am having a stateless session bean for handling the complete class. So I call a method of the stateless session bean to fetch the object of serializable class.

Class A -> sirializable
StatelessSession Bean (Blass B)
Class B -> handles class A
Class C -> Calls EJB B > Calls class A -> which returns class A object

I added some debug statement to find the acual cause, and found that the "return (object)" statement takes 80% of the processing time.
When I reduce the data of cache which the sirializable (Class A) holds it takes less time and vise versa.

So I want to confirm is there any prblem with the sirializable object handeling in WAS or do I need to tune my application.

Please help me in this. Does this information sufficient?

Thankx.
17 years ago
Hi,

I ma using WAS 6.0.2.9, I have one CMP bean. There is one methode in CMP bean which is called very frequently in the system. I put some debug statements in that methode and found that it is not taking very less time to get execute but when it returns the object back it took nearly 1 minute.
Does anybody know why object returning is taking this much time. Do i need to tune any parameter for this........ Please help

Thanks
17 years ago