• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

weblogic.kernel.Default

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help....


in my program use weblogic 8.1.3,
when its running fine in log file its said :
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: init>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param verbose initialized to: true>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param packagePrefix initialized to: jsp_servlet>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compileCommand initialized to: javac>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param pageCheckSeconds initialized to: 1>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param encoding initialized to: null>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param srcCompiler initialized to weblogic.jspc>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param workingDir initialized to: C:\bea\user_projects\domains\myerp\myserver\.wlnotdelete\extract\myserver__appsdir_myerp_dir_myerp>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: initialization complete>
<BEA-101047> <<[ServletContext(id=12946164,name=myerp,context-path=)] CommonServlet: init>

but now its can not run, and in the log file its said
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: init>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param verbose initialized to: true>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param packagePrefix initialized to: jsp_servlet>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compileCommand initialized to: javac>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param pageCheckSeconds initialized to: 1>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param encoding initialized to: null>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param srcCompiler initialized to weblogic.jspc>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: param workingDir initialized to: C:\bea\user_projects\domains\myerp\myserver\.wlnotdelete\extract\myserver__appsdir_myerp_dir_myerp>
<BEA-101047> <[ServletContext(id=12946164,name=myerp,context-path=)] *.jsp: initialization complete>

There is missing last its
<BEA-101047> <<[ServletContext(id=12946164,name=myerp,context-path=)] CommonServlet: init>
is there have someone help please?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Code Ranch. You haven't given us much information to work with. What is CommonServlet?
When you say "when its running fine", what did you do to get it to that state? Fresh startup of the server? Redeploy of the application? Use the application for an amount of time?
What do you do to get it into the state "but now its can not run"?
Has the application normally run fine? If so, what changed recently?
 
Muhamad Fikri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ...Joe Ess, Thanks for your reply,

its because my computer have bluescreen then i format my computer in drive C
but the code program is in drive D, so i still have the code.
but after then when i running the program it is not run, and i got the log file like in second log
i use myeclipse - weblogic
the problem is in CommonServlet (ServletName in web.xml and weblogic.xml)

here the CommonServlet






Thanks
fikri
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Muhamad Fikri wrote:
Its because my computer have bluescreen then i format my computer in drive C



So you reinstalled weblogic?

Muhamad Fikri wrote:
i use myeclipse - weblogic



Is your application even deployed? You can check the Weblogic console to see.
When you deploy the application (assuming it is deployed), are there any errors?
 
Muhamad Fikri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i reinstalled.
i have redeploy application, reconfigure JDBC and redeploy EJB module.
and there is no error warning, but when i run webapplication its cannot run,
and after i check and compare log file from mycomputer before bluescreen and after that.
there is 1 missing in log file, and the missing is:
<BEA-101047> <<[ServletContext(id=12946164,name=myerp,context-path=)] CommonServlet: init>



CommonServlet is code java servlet, and its put in web.xml and weblogic.xml


here is the config.xml



here is web.xml
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>CommonServlet</servlet-name>
<display-name>CommonServlet</display-name>
<servlet-class>com.kmk.erp.common.CommonServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>CommonServlet</servlet-name>
<url-pattern>/common/CommonServlet</url-pattern>
</servlet-mapping>

<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>

<error-page>
<error-code>404</error-code>
<location>/en/errPage/404.htm</location>
</error-page>

<login-config>
<auth-method></auth-method>
</login-config>
</web-app>

and there have 1 attchment

Thanks
fikri

Weblogic1.jpg
[Thumbnail for Weblogic1.jpg]
weblogic1
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Failed to rename log file on attempt to rotate logs



Here's your error message. So why would the Weblogic server be unable to rename a file? Perhaps the file is in a directory to which the server doesn't have suitable access, or something along that line.
 
Muhamad Fikri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello Paul,
thanks for your response,

Y..perhaps you are correct, but when before mycomputer bluescreen the message "Failed to rename log file on attempt to rotate logs"
exist and the program is running and successfuly calling login.html,
but after blue screen its cannot runing ....
and in the log file have 1 thing different.....its CommonServlet (web.xml)

 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's been a long time since I've used WLS 8 (support for it was discontinued in 2011) but I think you should have more logs. You've shown us the server log and there's the HTTP log which can't be renamed (I don't think that error is necessarily a blocker. I've had weird Windows file permission errors before. Are you running the server with the same user you installed Weblogic as?). There should also be a domain log which is named the same as your domain name. Is there anything interesting in that log file?
The image you posted is way too small to get any useful information from. I take it that it shows your application deployed successfully?
My wild guess at this point is that you had something set up in your server/domain classpath that your application depended on. When you reinstalled you did not set up that dependency and now your application can't find it. Did you set up the original server? Is there someone else who has the same application running, even a server, that you can compare your setup to? Do you have the domain from the old installation or did you set up a new one when you reinstalled?
 
Muhamad Fikri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi joe

Now i attach some files that may be you need to get some info there.
yes when i deployed that succesfully deployed, but i dont know why its comes error,
i realy hopes some helps, please.

Domain Log Before error



Current Domain log

DefaultWebApp.jpg
[Thumbnail for DefaultWebApp.jpg]
DefaultWebApp
JDBCConnection.jpg
[Thumbnail for JDBCConnection.jpg]
JDBC
login.JPG
[Thumbnail for login.JPG]
login
 
reply
    Bookmark Topic Watch Topic
  • New Topic