Win a copy of High Performance Python for Data Analytics this week in the Python forum!

raja srinivas

Greenhorn
+ Follow
since Jun 22, 2001
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 raja srinivas

Hi,
i am using weblogic in my project both as a webserver and as the application server. But i am facing problems with requests being sent to the server. Basically i have a form in my jsp which, if submitted by multiple clients at the same instant in time, the server gets confused and mixes up the data in the requests !! the form is submitted to another jsp which in turn calls a SLSB which in turn calls various entity Beans to fulfill the request.
Now if 2 or more clients hit the submit button together, the server is mixing the data from the requestsand i get corrupted output as a result.
That if i submit values (a,b,c) from one client machine and values (x,y,z) from another machine, the server puts one of the transactions properly and in the other it picks up the data from the other request and takes something like (x,y,c) !!
Is this a bug in Weblogic 6.1 or am doing something wrong ??
Any help would be appreciated.
Raja
18 years ago
Hi,
yeah , i have the same problem. As yet i have not been able to find any pattern in its occurance. But i would say it happens about once a day on my site. Ane one knows about the varios possible reason behind this Exception ?
Cheers
Raja
18 years ago
Hi,
i am using Weblogic 6.1. I have setup a connection pool to my Oracle 9i database.But everytime my Ejb's try to access the database nothing happens(connection hangs) and after some time i get the TransactionRolledBackException.
Strange thing is if i point my connection pool to my other Oracle 8 server, everything works perfectly. I am using the Oracle thin JDBC driver, does it have anything to do with that ?
I dont think there is a problem with my 9i installation because that works perfectly if i change my EJB's so as to connect to the database without any Connection pool.
Any faced this problem before ?
Any suggestions would be much appreciated as right now i am all at sea . If nothing comes up i will have to uninstall Oracle 9i and start all over again, but that is a option i do not want to take 'coz i am pretty sure that there is nothing wrong with the way Oracle is installed.
Anyone ?
Raja Srinivas
19 years ago
Thanks guys,
thats what the problem was, i did have the folder in my classpath !! Jeez !!
THanks a ton
19 years ago
Hi guys,
this is a pathetically obvious error which i am unable to resolve. The thing is i have a simple program that i am running from the command prompt through the command "java filename" and i keep getting the NoClassDefFoundError in thread main. The class file is in the same folder from which i am trying to run it , still i keep getting this runtime error. Can anyone help to get me out of this frustrating position.
Thanks
Raja
19 years ago
Hi,
I need to develop a Socket based Client programme to talk to our EJB based system. This Client application basically needs to authenticate a user based on Machine info (MAC address). Would webstart be a feasable solution ? Basically what i need to know is whether Java WebStart be able access such system information as Mac Address ?
Any help would be appreciated .
Thanks,
Raja
19 years ago
Hi guys,
i am using weblogic 6.1 for my EJB's and JSP's, but there is a strange problem i am facing. I am using JavaScript in my JSP, and it works fine when i use the http://locahost:7001/.... address in browser. But when i use the IP Address notation( http://204.144.141.226:7001/somePage.jsp) in my browser window, the onMouseOver event in the javascript is not executed. The same thing works if i change my URL to the localhost notation, it works fine !! Any clues about this behaviour ??
Raja Srinivas
19 years ago
hi,
nope its not a problem with the path specified as the same thing works if use the same src="" in an HTML file. But if i view the same HTML File through Weblogic the images are not loaded. Is there a way to configure the MIME setting in the Weblogic server. I am running out of ideas here...
can someone please help me on this, I am getting desperate !!!
The same thing happens if i 'include' an external javascript file in my jsp. Anyone ???
Raja
19 years ago
Hi guys,
In my Jsp's i am unable to load the image situated in the "images" folder one layer below. IMG SRC="images/image.gif"
anyone has any clues aboutt this. This is actually true for all jsp's in my defaultWebApp in myserver.
is there any extra configuration that needs to be done in the weblogic server 6 ?
In my servlet mapping tag in the web.xml file i have
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
Thanks,
Raja
19 years ago
Solved it... my fault i had named the folder "WEB_INF" instead of "WEB-INF" !!! Stupid boy !
Cheers!
Raja
19 years ago
thanks Anup... yeah thats what i thought too, but the problem persisted even even i appended the classpath in the compiler option in the Weblogic admin console, but that did not solve my problem. So i added the classpath to the startweblogic.cmd script, and now my jsp's are working fine with the EJB's. )))
Thanks
Raja Srinivas
19 years ago
Hi,
when i run my jsp's in Weblogic i am getting the error
Error 400 -Bad Request
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.1 400 Bad Request
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications

what is the problem ? I have already compiled the jsp using the weblogic compiler without any error. Can anyone give any pointers about this ?
Thanks,
Raja Srinivas

[This message has been edited by raja srinivas (edited September 30, 2001).]
19 years ago
Hi,
How do i set up the environment of my web application. I have my all ejb jars in a seperate directory (c:\projects\...\ejb) and not in the mydomain\applications\DefaultWebApp_myserver folder, where i have my jsp files.
When i compile my jsp, i get the "cannot resolve symbol" error for the ejb calls. Can any one give me the pointers to setting the weblogic environment to look for the ejb's in my directory ?
Thanks
Raja Srinivas
19 years ago
Hi,
yeah..but write now i am in the development stage, so i dont want to create a .ear file everytime i add a new jsp. Weblogic says "arrange the resources(JSP's, static files etc) in the prescribed directory format....write web.xml...."
the error i am getting is
"java.io.IOException: CreateProcess: /bin/javac.exe -classpath C:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver;C:\bea\wlserver6.0\.\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\lib\ejbtags.jar;C:\bea\wlser ver6.0\.\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\classes;C:\bea\wlserver6.0\.\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myse rver_DefaultWebApp_myserver;C:\bea\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver;C:\bea\jdk130\jre\lib\r t.jar;C:\bea\jdk130\jre\lib\i18n.jar;C:\bea\jdk130\jre\lib\sunrsasign.jar;C:\bea\jdk130\jre\classes;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;null -d C:\bea\wlserver6.0\.\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver C:\bea\wlserver6.0\.\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_test.java error=3D
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:144)
at weblogic.utils.Executable.exec(Executable.java:108)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:359)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:148)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"
Any clues ???
Thanks
Raja Srinivas
19 years ago
Hi guys,
i am facing trouble in calling my ejb from the jsp's. I think its due to the fact that there is something wrong with the path that i set in the weblogic server in the Weblogic.xml file. Can someone please preovide me the corect syntax of writing the location there. (that is , java:comp/env/ejb... part). Can anyone please explain me that part.
Thanks
19 years ago