WLS 8.1SP2: CGIServlet: Failed to exec CGI script
Hi,
Added the revelant lins to web.xml as per the documentation.
Tested to ensure my CGI perl script runs on command line.
Pointed my browser to http://myserver:myport/myapp/cgi-bin/myscript.pl
and got the 500 Internal Server Error.
What's going on????
Thanks,
Paul
Hi Paul,
I am receiving this same message when execution psdoccgi in the cgi-bin folder on Solaris. Did you resolve your issue and if so, do you have a solution for this?
Let me know.
Thanks,
[email protected]
Similar Messages
-
Cannot execute CGI script in WL5.1 on Windows
Hi
when i execute a cgi script on WL5.1 on Windows NT machine, i get the
following error :
<ServletContext-General> cgi-bin: Failed to exec CGI script:myscript.pl
The URL i use to call this cgi script is :
http://localhost:7001/cgi-bin/myscript.pl
I have added the following lines to weblogic.cmd file to allow for cgi
support :
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=d:/weblogic/myserver/cgi-bin,\
*.pl=D:\ActivePerl\Perl\bin\perl5.6.1.exe
Can anyone help me with this ?
ThanksJust a thought, did you try using forward slashes in the *.pl line?
JSB wrote:
Hi
when i execute a cgi script on WL5.1 on Windows NT machine, i get the
following error :
<ServletContext-General> cgi-bin: Failed to exec CGI script:myscript.pl
The URL i use to call this cgi script is :
http://localhost:7001/cgi-bin/myscript.pl
I have added the following lines to weblogic.cmd file to allow for cgi
support :
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=d:/weblogic/myserver/cgi-bin,\
*.pl=D:\ActivePerl\Perl\bin\perl5.6.1.exe
Can anyone help me with this ?
Thanks -
Hi,
I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
to execute CGI script:reports" when I try to execute cgi-bin scripts
(*.cgi).
I have setup the properties file as follows -
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin
and am trying to access cgi script as
http://<host:port>/cgi-bin/reports/ntcgi.cgi
Appreciate your help.
RajaMarta,
Thanks for your reply. I followed your advice, it still complains
cgi-bin: Failed to exec CGI script:ntcgi.cgi
Any ideas?
Raja
Marta Ramos wrote:
Hi,
I had the same problem. Try this:
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin/reports
And access to the cgi script as
http://<host:port>/cgi-bin/ntcgi.cgi
Do not ask me why, but WebLogic do not admit directories after
the cgi-bin directory at the URL. That is why he is trying to
execute the cgi script "reports".
Hope this help you.
Marta.
Raja Ramanathan <[email protected]> wrote:
Hi,
I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
to execute CGI script:reports" when I try to execute cgi-bin scripts
(*.cgi).
I have setup the properties file as follows -
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin
and am trying to access cgi script as
http://<host:port>/cgi-bin/reports/ntcgi.cgi
Appreciate your help.
Raja -
Apache 2.0.35 httpd.conf issue with Win2k WLS 6.1sp2 Cluster
Hi,
Anybody has a Win2K Apache 2.0.35 httpd.conf that works
with a WLS 6.1sp2 Cluster?
I am getting errors like
"..Cannot load D:/Apache2.0.35/Apache2/modules/mod_wl_20.so into server: The
specified procedure could not be found."
Thanks,
-ad
you should post this question plugin newsgroup.
I will ask one of our plugin engineer to get back to you...
Kumar
Toly Dedes wrote:
> Hi,
> Anybody has a Win2K Apache 2.0.35 httpd.conf that works
> with a WLS 6.1sp2 Cluster?
> I am getting errors like
> "..Cannot load D:/Apache2.0.35/Apache2/modules/mod_wl_20.so into server: The
> specified procedure could not be found."
>
> Thanks,
> -ad
>
>
>
-
Close Wait also with WLS 6.1SP2
Hi,
we encounter the same situation with the NES (predecessor of iPlanet) and WLS 6.1SP2.
Con TWait CWait Files Sockets
706 0 422 980 815
749 0 554 1022 857
749 0 597 1022 857
Any suggestions?
Regards
Andi"Shirley" <[email protected]> wrote:
>
"Khalid" <[email protected]> wrote:
We seem to have close wait problem in extreme load where apache/weblogic
hold the
tread so the socket cannot be closed. Does anyone know how to fix this
problem.
It seems like after in runs out of thread the server crashes.
Have you fixed this problem you were facing ,because we are facing exactly
the
same problem.Did you find any solution .If so please do let us know
Cheers
Shirley RemediosWe had the same problem and reduced the number of sockets in this state by reducing
the time to wait before closing the sockets. On Solaris we set 'tcp_time_wait_interval'
to 30000 (30 seconds) on the web and app servers. -
Java.io.IOException: Compiler failed executable.exec
I m trying to deploy a EAR file which has a single EJB.
It deploys fine but when i try to start it it throws the exception trac
ebelow.
Any ideas on how to solve ? I ve put Jrockit javac in path, set BEA_HOME
and tried a few other things with no luck.
Any ideas ?
/s
Unable to deploy EJB: hello_ejb_wls9.jar from hello_ejb_wls9.jar:
There are 1 nested errors:
java.io.IOException: Compiler failed executable.exec
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
ker.java:435)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
295)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:
303)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:284)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:470)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:439)
at
weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:436)
The server compiler and ejb compiler are set as javac in the options.Hi,
I think you are not creating that ear correctly.
Could you check the following points ?
1. make sure all the files you need are there
2. make sure folder hierararchy is ok
If that's cool: And its still doesnt work:
Export your example ear from weblogic and use that one
Regards
Anilkumar kari -
Intermittent java.lang.NoClassDefFoundError WLS 8.1SP2 Solaris 5.8
Hello.
I have experienced an intermittent java.lang.NoClassDefFoundError following deployment as follows:
java.lang.NoClassDefFoundError: /net/sf/hibernate/cfg/Configuration
on Solaris 5.8 WLS 8.1SP2 for a web application whose WAR contains all of the required .jar files for Hibernate. The code involved uses a static initializer (following the thread local pattern shown in many Hibernate documentation sources) and has shown no issues to date in a Win2K environment.
The issue persisted between several re-deployments and fresh server instances on a given day. Two days later the same WAR deployment was used and the error did not appear again.
Has anyone experienced a similar behaviour in their deployment experiences ? Does anyone have any suggestions on avoiding the issue (e.g. something related to ClassLoaders) ?
Regards,
James.Hello.
I have experienced an intermittent java.lang.NoClassDefFoundError following deployment as follows:
java.lang.NoClassDefFoundError: /net/sf/hibernate/cfg/Configuration
on Solaris 5.8 WLS 8.1SP2 for a web application whose WAR contains all of the required .jar files for Hibernate. The code involved uses a static initializer (following the thread local pattern shown in many Hibernate documentation sources) and has shown no issues to date in a Win2K environment.
The issue persisted between several re-deployments and fresh server instances on a given day. Two days later the same WAR deployment was used and the error did not appear again.
Has anyone experienced a similar behaviour in their deployment experiences ? Does anyone have any suggestions on avoiding the issue (e.g. something related to ClassLoaders) ?
Regards,
James. -
Error from ejbc: Compiler failed executable.exec
Hi all,
I am using weblogic server 8.1 and encounter an error when I build my project, could anyone give me a helping hand? Thank you.
This is my Configuration:
Application Type: Empty Application
Project Type: EJB Project
Project Name: LibraryEJBProject
DataSource: LibraryDataSource using cgPool
Table: Library_Book under Schemas\Weblogic\Tables of pointbase server
EJB name: BookBean.EJB under LibraryEJBProject\book
When I right click LibraryEJBProject and click build, the following error comes out:
======================================================
Build project LibraryEJBProject started.
BUILD STARTED
build:
Created dir: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
check-env:
WARNING: Checking to see if there is anything new to build...
Created dir: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_ejb_crc
no-ejbgen:
run-build:
clean-modules:
removed module 'LibraryEJBProject.jar'
WARNING: Running EJBGen...
Loading source file C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp/Book\BookBean.java...
Constructing Javadoc information...
EJBGen 2.16
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\Book\Book.java
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\Book\BookHome.java
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\ejb-jar.xml
[Info:] null [Bean] MAKE CLASS NAME G:BookHome P:Book N:BookHome
[Info:] null [Bean] MAKE CLASS NAME G:Book P:Book N:Book
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-ejb-jar.xml
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-cmp-rdbms-jar.xml
[Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\ejbgen-build.xml
post-ejbgen:
clean-ejbc:
Copying 7 files to C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
WARNING: EJBGen ok. Compiling...
runjavac:
Compiling 3 source files to C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
WARNING: All files compiled. Running ejbc...
<Dec 3, 2004 12:18:44 PM CST> <Warning> <EJB> <BEA-010212> <The EJB 'Book(Jar: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local-home[createQuery(), remove(java.lang.Object), findByPrimaryKey(java.lang.Integer), create(java.lang.Integer)] local[getBookID(), getIsbn(), getName(), setPublisher(java.lang.String), getPublisher(), setAuthor(java.lang.String), setBookID(java.lang.Integer), remove(), setIsbn(java.lang.String), getAuthor(), setName(java.lang.String)] >
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:76: cannot resolve symbol
symbol : class BookBean
location: interface Book.Book
public final class Book_5wlu3i__WebLogic_CMP_RDBMS extends Book.BookBean
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:760: cannot resolve symbol
symbol : class Book_5wlu3i_Intf
location: interface Book.Book
Book.Book_5wlu3i_Intf beanIntf)
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_Intf.java:39: cannot resolve symbol
symbol : class Book_5wlu3i_Intf
location: interface Book.Book
(java.sql.ResultSet rs, java.lang.Integer offset, Object __WL_pk, Book.Book_5wlu3i_Intf var)
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_ELOImpl.java:15: cannot resolve symbol
symbol : class Book
location: interface Book.Book
implements Book.Book, weblogic.utils.PlatformConstants, java.io.Serializable
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:13: cannot resolve symbol
symbol : class BookHome
location: interface Book.Book
implements Book.BookHome, weblogic.utils.PlatformConstants
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:76: cannot resolve symbol
symbol : class Book
location: interface Book.Book
public Book.Book create (java.lang.Integer arg0)
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:101: cannot resolve symbol
symbol : class Book
location: interface Book.Book
public Book.Book findByPrimaryKey(java.lang.Integer arg0)
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:244: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.setEntityContext(arg0);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:257: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.unsetEntityContext();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:269: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbActivate();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:490: cannot resolve symbol
symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
location: interface Book.Book
Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = null;
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:566: cannot resolve symbol
symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
location: interface Book.Book
__WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)__WL_pm.getBeanFromRS(__WL_pk, __WL_rsInfo);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:763: cannot resolve symbol
symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
location: interface Book.Book
Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)beanIntf;
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:763: cannot resolve symbol
symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
location: interface Book.Book
Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)beanIntf;
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:922: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbLoad();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:936: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbStore();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:950: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbRemove();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1051: cannot resolve symbol
symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
location: interface Book.Book
case 0: __WL_loadGroup0FromRS(rs, offset, __WL_pk, (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)eb); break;
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1167: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
if(__WL_verbose) Debug.say("setting("+this+") 'author' using column " __WL_num ". Value is " + this.author);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1178: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
if(__WL_verbose) Debug.say("setting("+this+") 'isbn' using column " __WL_num ". Value is " + this.isbn);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1189: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
if(__WL_verbose) Debug.say("setting("+this+") 'name' using column " __WL_num ". Value is " + this.name);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1200: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
if(__WL_verbose) Debug.say("setting("+this+") 'publisher' using column " __WL_num ". Value is " + this.publisher);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1663: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbCreate( arg0);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1702: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbPostCreate( arg0);
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1847: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbRemove();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1907: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbLoad();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1938: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbStore();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:2072: cannot resolve symbol
symbol : variable super
location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
super.ejbPassivate();
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:80: cannot resolve symbol
symbol : class Book
location: interface Book.Book
return (Book.Book) super.create(md_ejbCreate_I,
^
C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:105: cannot resolve symbol
symbol : class Book
location: interface Book.Book
return (Book.Book)
^
30 errors
ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
ERROR: ERROR: ejbc couldn't invoke compiler
BUILD FAILED
ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
ERROR: ERROR: ejbc couldn't invoke compiler
======================================================
What would be the cause of the error, would it be related to the way I create the datasource and the table? Or other causes, please help. Thank you.
Regards,
Nicholas LokIt's difficult to tell solely by the messages. One there seems to be a problem finding a base class. One thing that I notice is that the package seems to contain 'book' with a lower case 'b' as in:
EJB name: BookBean.EJB under LibraryEJBProject\book
Whereas all the error messages are saying that they are having trouble finding something with a package name like 'Book' with a capital 'B'.
Perhaps that is the problem, the package has to be consistently 'book' or 'Book' and can't be both.
Hope I'm right and hope this helps.
thorick -
Slow boot - com.apple.afpstat-qfa[271]) Job failed to exec
Hi,
I have a Macbook Pro Retina. All has been working fine since I first got the MBP, but now I have a 30 second delay in booting each time.
Looking in the log I see this:
16/08/2012 10:07:05.284 CalendarAgent[245]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFSet')
16/08/2012 10:07:05.798 NetUpdate[91]: Launch background checker (Post reboot: 0)
16/08/2012 10:07:25.244 com.apple.launchd.peruser.501[170]: (com.apple.afpstat-qfa[271]) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
16/08/2012 10:07:25.244 com.apple.launchd.peruser.501[170]: (com.apple.afpstat-qfa[271]) Job failed to exec(3) for weird reason: 2
16/08/2012 10:07:26.317 appleprofilepolicyd[286]: appleprofilepolicyd: profiling drivers not loaded, loading
Every time there is a delay in boot I see a gap in the boot sequence log just before the error message in red above.
Does anyone have any idea a) what this is doing; and b) what might be causing the problem?
I have tried repairing permissions etc. but that didn't solve it.
Thanks
Darren.I'm going to answer your question in more detail than you probably want, because it's somewhat important and I want to make a record.
The job referenced by those log messages is started when a user logs in, and the per-user launchd(8) process loads the following file:
/System/Library/LaunchAgents/com.apple.afpstat.plist
The file instructs launchd to invoke an executable at the path /usr/local/bin/afpstat. Although the syntax is correct, the executable doesn't exist. Even the directory doesn't exist, by default. I've searched all the Apple installer receipts in ML, and none of them refers to that file.
So what has happened here is that some extra pieces were inserted into ML during development, for debugging purposes no doubt. When the time came for release, the executable was removed, but the developer who removed it forgot to remove the corresponding launchd item. Every ML installation has it, and every one is being delayed during boot when it fails.
The solution to this problem is to delete the file that the Apple developer forgot to delete. In the Finder, select Go ▹ Go to Folder... from the menu bar, copy the text outlined above into the box that opens, and press return. A folder will open with the item selected. Move the selected item to the Trash, then empty. You'll be prompted for your login password.
Edit: On my Macs, although the same error is logged, it doesn't seem to be causing a delay of more than one second, so deleting the bogus LaunchAgent may not have a noticeable effect. -
Compiler failed executable.exec
I'm using Weblogic 8, EJB 2.0, and Sybase for my project. I have a session bean and an entity bean which map to a table view in my database. When i tried to deploy the EJB, the following error messages appeared:
Compiler failed executable.exec
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
Does anyone know the cause of the error??
Thanks in advance
Regards,
JoeyI am also getting the same error and was wondering if you figured out what is going on.
I suspect it has something to do with the classpath, but I am not sure what it is.
A friend of mine also working on the same project does not seem to be affected and our
setup is almost identical. The only difference being I am using XP pro and she is on W2K.
It is driving me mad and any help would be greatly appriciated.
Thanks,
Hani -
Failed to exec runform f60webm [error 2] while running form server
Hi,
I have just installed oracle9iAS with oracle 8.1.6 on same RH7.1
m/c
During installation I got 2 error of makefile of ins_ctx.mk
but after installation every thing started except form server
when I run form server it gives error:-
failed to exec runform f60webm [error 2]
but at last it says that
forms listener started on port 9001.
And during running the form through web I got an error
FRM-92050 Failed to connect to the server: myserver:9001
If anybody have solution for it pls reply me
with regards
AkhilHi,
Now I have installed oracle9iAS without any error
but still after installation every thing started except form
server
when I run form server it gives error:-
failed to exec runform f60webm [error 2]
but at last it says that
forms listener started on port 9001.
And during running the form through web I got an error
FRM-92050 Failed to connect to the server: myserver:9001
If anybody have solution for it pls reply me
with regards
Akhil -
Failed to exec runform f60webm [Error:2]
I have IAS 9i running on RedHat 7.0 with JDK118. But when I run :
forms60_server start
There were error message like these :
Failed to exec runform f60webm [Error:2]
ANy comments ??? URGENT !!!Sorry to bother you, Did u solve this problem? As I'm also facing
same problem on redhat 7.1
failed to exec f60webm.
with regards
Akhil -
Installing Cocoon2 on WLS 6.1sp2 Solaris
Hi all,
I have been following the installation instructions on the cocoon site, but perhaps it is a bit dated (specifically for WLS 6.0) and so far I have not had any luck. I tried both the WAR file and expanding cocoon and neither method worked.
Has anyone got Cocoon2 and WLS 6.1sp2 to work? My work environment is on Solaris but any points on Windows would be greatly appreciated also.
Thanks in advance,
PaulHi Paul,
this is how I got Cocoon 2.0.4 running on WLS 6.1.4
(Download the Cocoon source from http://xml.apache.org/cocoon/dist/)
Remove all but the following JARs from lib/optional
commons-jxpath-1.0.jar
jing-20020724.jar
resolver-20020130.jar
servlet_2_2.jar
commons-logging-1.0.jar
jtidy-04aug2000r7-dev.jar
rhino-1.5r3.jar
xt-19991105.jar
Update lib/jars.xml to reflect these changes
build clean
build webapp -Dinclude.webapp.libs=yes
Copy the following JARs to a suitable lib-directory:
xercesImpl-2.0.0.jar
xml-apis.jar
xalan-2.3.1.jar
xt-19991105.jar:
java/lib/tools.jar
Deploy the resluting cocoon.war and you should have a Cocoon up and running that
can do the XML->HTML Hello World sample. The status page works fine too.
If you need a more competent Cocoon, try adding the required JARs on the class
path (or add them the to your webapp-build if you are confident that WLS are capable
of handling their manifests).
Good luck
/Peter
"Paul Lee" <[email protected]> wrote:
>
Hi all, forgive me if this is not the right "Install" forum, but I am
looking for
some pointers/success stories in running Cocoon 2 with WLS 6.1 SP2 (Solaris
preferably).
I have followed the official installation instructions from Cocoon and
searched
the weblogic newsgroups, but none of them worked. Perhaps none of them
were specifically
about 6.1sp2.
If anyone has any advice or pointers it would be greatly appreciated.
Thanks,
Paul -
Failing to create temp file in Perl cgi script
This used to work, perhaps before the Apache 2.4 upgrade?
From the httpd error log:
AH01215: Error in tempfile() using template /tmp/XXXXXXXXXX: Could not create temp file /tmp/4VmuZsw3Wt: No such file or directory at...
Here's the offending code:
#!/usr/bin/perl
use strict;
use warnings;
use File::Temp;
use CGI;
my $q = new CGI();
print $q->header();
print "Hi mom\n";
my( $foo, $bar ) = File::Temp::tempfile();
print $foo "Test content\n";
close( $foo );
print "Hi dad\n";
1;
If invoked from the command-line, it works as intended. Tried as users me, root and http (the Apache user).
If run as CGI script, I get this:
Hi mom
then it aborts with an HTTP 500, and emits the above message in the error log.
Before anybody asks:
drwxrwxrwt 7 root root 240 May 22 20:51 /tmp
The Apache configuration has this, which /some/path/cgi contains my above script.
ScriptAlias "/cgi" /some/path/cgi
Baffled ...Restarting Apache fixed the issue. Ran out of file descriptors perhaps?
The question is: will it happen again?
Last edited by jernst (2014-05-22 21:20:12) -
Servlet engine invoked FROM CGI script?
Yes this is a backwards request, but I need a simple servlet engine that can be invoked through a CGI script. I perfectly realize the problems associated with this like session management, benefits in threading, etc not to mention the overhead of JVM startup on each request...
Anything with which anyone's familiar? Searching returns (of course) how to invoke CGI from Servlet containers which is obviously not what I need.
Thanks!Hi Michael,
I am running 7.0 on Win NT while its the same case its displaying the whole content
as it is setted the weblogic.servlet.CGIServlet in the web.xml file and providing
the compiler for perl also .
Looking for a quick reply
Thanks
Shivani
Michael Young <[email protected]> wrote:
Hi.
What platform/OS version are you running WLS on?
Thanks,
Michael
Suren Jain wrote:
Hi,
We are having problems invoking cgi scripts from the browser.
When we try to access it, it is not executed, instead the script is displayed
in the browser.
We are using weblogic 5.1 and sp9.
In the properties file we have specified
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/opt/equitydev/geo/cgi-bin,\
*.pl=/usr/local/bin/perl5,\
*.sh=/bin/ksh
Appreciate your help.
Thanks
Suren.--
Michael Young
Developer Relations Engineer
BEA Support
Maybe you are looking for
-
Mid 2010 Macbook Pro 15" Random Restarts
My Mid 2010 Macbook Pro 15" restarts randomly, this has been happening for quite a while now, but more so recently than ever before. I don't think I"m losing any data, but it's a bother when I'm trying ot study or do anything productive for that matt
-
HT204388 can you connect a GATEWAY TOWER to a MAC 23in CINEMA MONITOR?
can you connect a GATEWAY TOWER to a MAC 23in CINEMA DISPLAY?
-
Is there a way to disable adobe update4? I thought I did and it just showed up on my menu bar. It seems to affect my photoshop by showing a strange "A" like symbol that flashes on occasion while in Photoshop. Any thoughts greatly apprecia
-
can anyone help me
-
HT4436 iCloud is taking forever can i shut down my computer then start it again?
iCloud is taking forever can i shut down my computer then start it again?