No tomcat server when starting Creator
Hi,
I noticed that the Tomcat 5 server does not appears in the deployment server node of Creator. I uninstalled and reinstalled the application, no success.
I already have a tomcat 4.1 server runnning on port 8080 on that computer, may this explain the failure? How to configure the integrated Tomcat 5 server on another port?
Thanks in advance.
Valere
Creator's bundled tomcat shouldn't be affected by any external tomcat installations you already got on your machine.
The internal application server runs on local port 8081 by default, and can be configured at the Server Navigator window (top-left by default), under Deployment servers list, selecting and using the Properties window (top right side by default).
dyn
Similar Messages
-
How can i avoid restarting tomcat server when servlet is modified?
please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?
No probs. Here's how I do things...
1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
2. Create a webapps directory in your eclipse project with the following directory structure
MyEclipseProject
- src
- conf
- webapps
- MyApplication
- META-INF
- WEB-INF
- classes
- lib
- pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
4. Put all your jar files in the lib directory
5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
6. Ensure your web.xml is in the WEB-INF directory
7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
<Context reloadable="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
<WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
<WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>
</Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
9. Download and install the Tomcat Launcher plugin from Sysdeo.
10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
a. Set your Tomcat Version
b. Set your Tomcat Home
c. Set "Context declaration mode" to server.xml
d. Set the configuration file to the full path to your server.xml file created in step 8
On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
On the "Source Path" page select all relevant projects
Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
There's no reason why this can't be fixed, I just haven't got round to it yet.
I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
Post if you get into trouble, however I won't be able to respond until next week.
Cheers,
Steve -
Cannot start 2nd form on same application server when starting script in 1s
Hello,
we have a forms application running on a productive application server and the same application for different testing db's on a test application server.
Within this application I can start a stored procedure that writes a spreadsheet via utl_file. Depending on the parameters used this might last 1 - 2 hours. When I start the procedure the forms application is blocked as expected until the procedure is finished. This would be no problem if there wouldn't happen a strange thing to some users: When they start the procedure every forms application on the same application server is blocked. This means they can work in production when they start the procedure in test environment but they can not open another test application and vice versa.
As this only happens to some users (yet always the same) I'm lost where I have to search. I found no differences on the client machines, these are installed by a central administration tool.
Has anyone an idea where I can start searching?
Regards
Marcus
Forms 9.0 (Form Compiler) Version 9.0.4.3.0 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 9.0.1.5.0 (Production)
Oracle Procedure Builder V9.0.4.3.0 Build #0 - Production
Oracle Virtual Graphics System Version 9.0.1.11.0 (Production)
Oracle Multimedia Version 9.0.4.1.0 (Production)
Integration der Oracle-Werkzeuge Version 9.0.4.0.0 (Production)
Oracle Tools Common Area Version 9.0.2.12.0
Oracle CORE 9.0.1.2.0 ProductionHello,
I first wondered why this is happening only to some users. Now I found that it depends on the habit how the application is called.
The applications are called from IE with separateFrame=TRUE.
While I have a link in my XP start menue for every application and therefore start IE anew every time, other users use a website which has the same links. The difference I saw is, that I get a Java console for every application, whereas applications started from the same instance of IE share the same Java console.
So now we have a workaround (start IE again) but I still don't know why this is happening at all.
Regards
Marcus -
Tomcat server remains started after shutdown
i was using tomcat sucessfully few daysn back.but now it is not shutting down even after giving command.
some new things i noticed are
* tomcat window that appears at the begning closes now while startup
* after shutdown command, it shows some exceptions(errors)
i am able to launch what i want but it is not closing.so plz tell me how to overcome this.tahnks in advance* after shutdown command, it shows some
exceptions(errors)You never mentioned (or bothered to mention) the
exception. Post that with the complete stack trace.i thought it to be a usual problem ok here is exception
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
my opinion:i think it is finding tomcat already stop.that's why it is showing this .but in this case file should not launch in browser but it is launching that means tomcat is running .so ! where is the problem -
Tomcat Server window closes automatically when I start it
Hi,
I am using Apache Tomcat 4.1 to work a small Web application. Each time when I start the Tomcat server the window comes up and closes automatically. Is something wrong with my configuration ?
Do I have to make any changes to server.xml ?
Pls help..
Thanks,
bobby.I think Tomcat 4.1 works fine with JDK1.5.0. Untill last week I was able to work on my application.
This problem started after I did a reboot. Ever since then I am having this problem
I tried to set the JAVA_HOME from the CATALINA_HOME dir and this is what I got,
C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>set JAVA_HOME = C:\PROGRA~1\JAVA\jdk1.5.0_0
C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>catalina run
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME: C:\Program Files\JAVA\jdk1.5.0_00
'-Dsun.io.useCanonCaches' is not recognized as an internal or external command, operable program or batch file.
And when I did a sanity check this is what I got,
C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:\PROGRA~1\JAVA\jdk1.5.0_0
Volume in drive C is PCSRP21
Volume Serial Number is D84F-A786
Directory of C:\PROGRA~1\JAVA
File Not Found
C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:|PROGRA~1\JAVA\jdk1.5.0_00
The system cannot find the path specified.
C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:\PROGRA~1\JAVA\jdk1.5.0_00
Volume in drive C is PCSRP21
Volume Serial Number is D84F-A786
Directory of C:\PROGRA~1\JAVA
File Not Found
Does this imply Tomcat is not able to recognize my Java directory ?
Thanks,
bobby. -
Error when starting SAP Business One Integration Server Service
Hi all,
I have a very urgent problem when installing B1iSN:
I'm installing B1iSN2007 for a customer (Windows server2008R2, SBO 8.8.1),
and at the beginning of the installation, after instaling the technology, I have an error,
The Tomcat server can't start.
I get the following error:
Windows could not start the SAP Business One Integartion service on Local Computer. For more Information, review the system
event Log.If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0.
In the event viewer I didn't find any more details.
In the tomcat logs (Under SAP Business One Integration\B1iServer\tomcat\logs) I find this:
[2012-01-05 15:12:26] [info] Procrun (2.0.4.0) started
[2012-01-05 15:12:26] [info] Service Tomcat5 name SAP Business One Integration Service
[2012-01-05 15:12:26] [info] Service Tomcat5 installed
[2012-01-05 15:12:26] [info] Procrun finished.
[2012-01-05 15:12:26] [174 javajni.c] [error] The specified module could not be found.
[2012-01-05 15:12:26] [994 prunsrv.c] [error] Failed creating java ..\..\..\jdk1.5.0_xx_sap\jre\bin\server\jvm.dll
[2012-01-05 15:12:26] [1269 prunsrv.c] [error] ServiceStart returned 1
[2012-01-05 15:13:13] [174 javajni.c] [error] The specified module could not be found.
[2012-01-05 15:13:13] [994 prunsrv.c] [error] Failed creating java ..\..\..\jdk1.5.0_xx_sap\jre\bin\server\jvm.dll
[2012-01-05 15:13:13] [1269 prunsrv.c] [error] ServiceStart returned 1
[2012-01-05 15:15:27] [174 javajni.c] [error] The specified module could not be found.
[2012-01-05 15:15:27] [994 prunsrv.c] [error] Failed creating java ..\..\..\jdk1.5.0_xx_sap\jre\bin\server\jvm.dll
[2012-01-05 15:15:27] [1269 prunsrv.c] [error] ServiceStart returned 1
What is the problem? How can I fix it?
Thanks a lot
ChanaHi Trinidad,
Thanks for your help!!!
1.
I didn't install EventSender and DIProxy yet, I tried first to upload and deploy the zip files, but I couldn't open the Itegration Application Explorer.
2.
The jvm.dll file is in in the folder pointed by the logs: C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap\jre\bin\server
and it is also in C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap_64\jre\bin\server
I tried running the file java5w.exe, but I got an error message:
Access is denied
Unable to open the service tomcat5
Thne I managed to open it by "rua as administrator".
the Java Virtual Machine path is points to the java 1.5 version folder.
Is it possible that the reason that the service can't start is related to administrator rigts??
In the properties in the Integration Service (services.msc):
It is set to be run with the local system account.
all other properties looks fine.
in the properties of the tomcat5.exe (and tomcat5w.exe , I tried both)
In the Compatibility tab I tried setting the flag "Run this program in compatibility mode for" to Vista, windows 7, and server 2008
I didn't have the option of Windows XP.
I have also set the Privilege level of: "Run this program as administrator" to true.
But still the service won't start.
What can be the problem?
What else can I check?
Thanks a lot,
Chana -
Trouble in Starting Tomcat server
Hi,
I installed Eclipse & Tomcat. I started Tomcat using Eclipse. In console it showed as
Jun 24, 2006 4:55:09 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Jun 24, 2006 4:55:11 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jun 24, 2006 4:55:11 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jun 24, 2006 4:55:12 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Jun 24, 2006 4:55:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 24, 2006 4:55:15 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 24, 2006 4:55:15 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/100 config=C:\Program Files\Apache Group\Tomcat 4.1\conf\jk2.properties
Error compiling file: C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file
But When gave this link in URL: http://localhost:8080
I got an error as follows:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file.
Then I tried from command promt to start Tomcat:
I checked environment variable JAVA_HOME, the Value is "C:\j2sdk1.4.2_11\bin;". Also PATH:;C:\j2sdk1.4.2_11\bin;
But Igot an error as follows
C:\Program Files\Apache Group\Tomcat 4.1\bin>startup
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\j2sdk1.4.2_11\bin;
The system cannot find the file -Dsun.io.useCanonCaches=false.
C:\Program Files\Apache Group\Tomcat 4.1\bin>
Can any one guide me, to correct this error.
Thanks in advance.did you edit the catalina.bat file in Tomcat?
It requires that you do so...I don't think by default it will have your JDK that resides on your machine.
I've edited various versions of Tomcat and the catalina.bat, server.xml and web.xml files before, and usually I've just about always had to add a line (SET JAVA_HOME) and then the variable %JAVA_HOME% will read it. -
Urgent :How to Start the JavaBean in the start up of Tomcat Server
Hi All
1. I need JavaBeans to be Started at the time of Starting of the Tomcat Server where i am Storing some global Database values in Hashtable collection.
2. I dont want to show the full address like http://domain.com:8080/mypath/jsp/file.jsp
how to reduce the path http://domain.com/file.jsp .. i don't want to show the full path (port number, where i am storing the files
3. when the user type http://domain.com:8080/mypath/jsp/
it shows all the files under that directory.. i dont want to show the direcotry content to outside user .. how to restrict that.
thanks and regards
sreekanti want to start some jsp files at the start of the
tomcat server.
in some IDE i saw an option like "when start up"
i want that type of facility to my site for loading
global variables to all the web pages.1) JSPs have to be hit by something (some kindof request or dispatched request) so "starting jsp files" isn't quite the right mechanism.
2) The servlet spec provides 2 ways to load things on startup:
i) the <load-on-startup> tag in the web.xml for loading a particular servlet when the particular application loads
ii) The ServletContextListener interface and the corresponding <listener> tag in the web.xml. If your initializing is non-web specific (e.g. logging, starting up some kind of service, initializing global vars) than this is the better (and easier) route to take.
If you want to put these in the root context to happen when tomcat starts, then you'll have to make these modifications to tomcat's root web application (ROOT in the webapps folder).
ncuka
ncuka -
hi,
i want to develop simple application using servlets.i ve installed apache tomcat4.1 version.i ve compiled my servlet program successfully.but when i am trying to start tomcat server,it is showing some error.i ve set the callspath too.
the error is:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: c:\jdk1.5.0_05;
The system cannot find the file -Dsun.io.useCanonCaches=false.
please resolve my problem..
thanks in advance..Using JAVA_HOME: c:\jdk1.5.0_05;There shouldn't be a semi-colon in the JAVA_HOME
-
Starting tomcat server after setting classpath for java
Sorry if this is nothing to do with java, it is more to do with starting tomcat server.
Tomcat server has been working totally fine, but when I wanted to compile a java servlet I wrote for it, I needed to run a BAT file called gojava in MS-DOS that had the classpath for java to work properly. I then attempted to run Tomcat, but just got 'bad command'. As long as I don't start up java by setting the classpath, tomcat will work, but as I need java to write servlets and then to test them without restarting my PC each time, how do I get tomcat to work?
Thanks
HannahSounds like your batch file is changing your path, not your classpath. If you're getting "Bad command or filename" when attempting to run Tomcat, it can't find the executable. Check out the .bat file and see what it's doing (maybe even post it here for further clarity). If it's changing your path at all, make sure it includes a %path% to indicate that it simply wants to append items to the path, not overwrite it completely. Sorry if i'm way off base with my suggestions, but it sounds like that's where the problem's going to be, especially if rebooting resolves the problem.
-
Error in re-creating RMI registry when reloading Tomcat server.
Hi,
I use LocateRegistry.createRegistry() in a servlet which is load-on-startup. I've unexport the registered remote object in the HttpServlet.destroy().
But when I reload the tomcat server, such an exception ocurrs:
java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:168)
at sun.rmi.transport.Transport.exportObject(Transport.java:69)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:190)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:164)
at RmiUtils.rebindLocal(RmiUtils.java:86)Here is the binding code in RmiUtils.rebindLocal:
try {
Naming.rebind(url, rmiImpl);
} catch (RemoteException ce) {
if (!ru.isLocalhost()) {
ce.printStackTrace();
// cannot cache
return;
} else {
// try to create the registry in local machine if not created
try {
LocateRegistry.createRegistry(ru.getPort());
Naming.rebind(url, rmiImpl);
} catch (RemoteException e) {
System.err.println("Failure in create Registry on port "
+ ru.getPort() + ", maybe it's been created already!");
e.printStackTrace();// handle exception
}Can anybody help?
Thanks.Hi
I havent code for quite a while.
I would think that this wont work.
The registry is created on startup (possibly init method in ur servlet) but it is never destroyed.
You are better off starting the registry externally to ur servlet engine, and then use do a bind/rebind on startup, unbind on destroy.
Hope this helps. -
Error when starting weblogic server 10.3.6
hi am having below error when starting my weblogic server am in window xp
C:\mydomain\base_domain\bin>DIR
Volume in drive C is WinXP
Volume Serial Number is F086-F167
Directory of C:\mydomain\base_domain\bin
22/04/2011 11:10 PM <DIR> .
22/04/2011 11:10 PM <DIR> ..
22/04/2011 11:10 PM <DIR> nodemanager
22/04/2011 11:10 PM <DIR> server_migration
22/04/2011 11:10 PM <DIR> service_migration
29/11/2011 10:14 PM 14,273 setDomainEnv.cmd
29/11/2011 10:14 PM 16,221 setDomainEnv.sh
29/11/2011 10:14 PM 3,322 startManagedWebLogic.cmd
29/11/2011 10:14 PM 3,147 startManagedWebLogic.sh
29/11/2011 10:14 PM 5,914 startWebLogic.cmd
29/11/2011 10:14 PM 5,657 startWebLogic.sh
29/11/2011 10:14 PM 2,528 stopManagedWebLogic.cmd
29/11/2011 10:14 PM 2,391 stopManagedWebLogic.sh
29/11/2011 10:14 PM 2,103 stopWebLogic.cmd
29/11/2011 10:14 PM 2,081 stopWebLogic.sh
10 File(s) 57,637 bytes
5 Dir(s) 6,815,825,920 bytes free
C:\mydomain\base_domain\bin>START startWebLogic.cmd
C:\mydomain\base_domain\bin>
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C
:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;C:\wlserver\server\lib\weblogic_sp.jar
;C:\wlserver\server\lib\weblogic.jar;C:\modules\features\weblogic.server.modules
_10.3.4.0.jar;C:\wlserver\server\lib\webservices.jar;C:\modules\org.apache.ant_1
.7.1/lib/ant-all.jar;C:\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.
jar;C:\oracle\Middleware\wlserver_10.3\sip\server\lib\weblogic_sip.jar;C:\Oracle
\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\wlserver\common\derby\li
b\derbyclient.jar;C:\wlserver\server\lib\xqrl.jar
PATH=;C:\wlserver\server\native\win\32;C:\wlserver\server\bin;C:\modules\org.apa
che.ant_1.7.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.
0_2\bin;C:\Program Files\PC Connectivity Solution\;C:\product\11.2.0\dbhome_1\bi
n;C:\product\11.2.0\dbhome_1;C:\forms;C:\DevSuiteHome_1\jlib;C:\Program Files\PH
P;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Commo
n Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLSha
red;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Co
mmon Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Co
mmon Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Share
d\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C
:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program File
s\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\
jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\
DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\
forms\sms_code.pll;C:\mywls\wlserver;C:\Java\jdk1.6.0_21;C:\wlserver\server\nati
ve\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
eshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer
-Djava.security.policy=C:\wlserver\server\lib\weblogic.policy -Xverify:none -ea
:com.bea.wcp... -da -Dplatform.home=C:\wlserver -Dwls.home=C:\wlserver\server
-Dweblogic.home=C:\wlserver\server -Dcommon.components.home=C:\Oracle\MIDDLE~1\
ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.common
s.logging.impl.Jdk14Logger -Ddomain.home=C:\mydomain\BASE_D~1 -Djrockit.optfile=
C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Dorac
le.server.config.dir=C:\mydomain\BASE_D~1\config\FMWCON~1\servers\AdminServer -D
oracle.domain.config.dir=C:\mydomain\BASE_D~1\config\FMWCON~1 -Digf.arisidbeans
.carmlloc=C:\mydomain\BASE_D~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\
mydomain\BASE_D~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:
\mydomain\BASE_D~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\
mydomain\BASE_D~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\-
-Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.os
soiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djav
a.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=f
alse -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole
= -Dwlw.logErrorsToConsole= weblogic.Server
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
Caused by: java.lang.ClassNotFoundException: weblogic.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: weblogic.Server. Program will exit.
my set is
C:\mydomain\base_domain\bin>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Desmond\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MADIMAD-B533821
ComSpec=C:\WINDOWS\system32\cmd.exe
FORMS90_PATH=C:\forms
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Desmond
LOGONSERVER=\\MADIMAD-B533821
NUMBER_OF_PROCESSORS=2
ORACLE_HOME=C:\product\11.2.0\dbhome_1
OS=Windows_NT
Path=C:\Program Files\PC Connectivity Solution\;C:\product\11.2.0\dbhome_1\bin;C
:\product\11.2.0\dbhome_1;C:\forms;C:\DevSuiteHome_1\jlib;C:\Program Files\PHP;C
:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common F
iles\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared
;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Commo
n Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Commo
n Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\D
LLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\m
ydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\J
ava\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk
1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\Dev
SuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\for
ms\sms_code.pll;C:\mywls\wlserver;C:\Java\jdk1.6.0_21
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHPRC=C:\Program Files\PHP\
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Desmond\LOCALS~1\Temp
TMP=C:\DOCUME~1\Desmond\LOCALS~1\Temp
USERDOMAIN=MADIMAD-B533821
USERNAME=Desmond
USERPROFILE=C:\Documents and Settings\Desmond
windir=C:\WINDOWS
aa__COMPAT_LAYER=EnableNXShowUITshifhiwa,
Back again? Nothing learned?
No jdev version?
You should n^know by now that you have to give at least some basic information.
A description of what you tried to do outside the listing would help too.
Timo -
When starting Netscape Calendar Server, the following error message appears:
<BR><P>
Module: , Label: 355, Service error: #0x13209
<P>
The three ACIs listed below need to be present in the Directory Server in order
for Calendar server to work properly. Check the properties on the Base DN to
verify that the following ACIs exist. If they are not present, you will need
to add them, and the Base DN will need to be modified for your enviroment.
<P>
<OL>
<LI>ACI for allowing users to modify their own entries.<BR>
<P>
(targetattr = "*")(version 3.0; acl "Allow self entry modification";
allow (write)userdn = "ldap:///self";)<BR>
<P>
<LI>ACI for allowing anyone permissions to Read, Search, and Compare.<BR>
<P>
(target="ldap:///o=basedn.com") (targetattr != "userPassword") (version
3.0; acl "Anonymous access";
allow (read, search, compare) userdn = "ldap:///anyone";)<BR>
<P>
<LI>ACI for allowing Calendar Server admins Write access to the Base DN
(this is necessary in order for admins to add users and resources to the node).
<BR><P>
(target="ldap:///o=basedn.com") (targetattr = "*") (version 3.0; acl
"Calendar Administrators Group";<BR>
allow(all) groupdn = "ldap:///cn=Calendar Server Admins,ou=Netscape
Servers,o=basedn.com";)<BR>
</OL>Hi Trinidad,
Thanks for your help!!!
1.
I didn't install EventSender and DIProxy yet, I tried first to upload and deploy the zip files, but I couldn't open the Itegration Application Explorer.
2.
The jvm.dll file is in in the folder pointed by the logs: C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap\jre\bin\server
and it is also in C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap_64\jre\bin\server
I tried running the file java5w.exe, but I got an error message:
Access is denied
Unable to open the service tomcat5
Thne I managed to open it by "rua as administrator".
the Java Virtual Machine path is points to the java 1.5 version folder.
Is it possible that the reason that the service can't start is related to administrator rigts??
In the properties in the Integration Service (services.msc):
It is set to be run with the local system account.
all other properties looks fine.
in the properties of the tomcat5.exe (and tomcat5w.exe , I tried both)
In the Compatibility tab I tried setting the flag "Run this program in compatibility mode for" to Vista, windows 7, and server 2008
I didn't have the option of Windows XP.
I have also set the Privilege level of: "Run this program as administrator" to true.
But still the service won't start.
What can be the problem?
What else can I check?
Thanks a lot,
Chana -
Problem with Java Studio Creator and Tomcat Server
Hi Gays ,
I have problem:
here is the error from tomcat 5
com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: statement handle not executed: getMetaData
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
if i develop application on my pc ( java studio creator with sun apps bundlled) is working perfectly,
but i migrated application to Tomcat Server ( Database the same - Oracle 10 g)
i can't show value ( as text) from datasoruce ( is in SessionBean1)
(Category-.>Subcat->Items->details( url from items table[items.jsp])
this is a working url "/faces/testpage.jsp?auk_id=31 "
( working with sun apps server , but not on Tomcat 5)
below prerender method in details.java and fragment of details.jsp
public void prerender() {
try {
String idauk = (getExternalContext().getRequestParameterMap().get("auk_id").toString());
System.out.println("wartosc auk_id " + idauk);
if (idauk != null) {
getSessionBean1().getDetailsRowSet().setObject(1,idauk);
getSessionBean1().getDetailsDataProvider().refresh();
details.jsp
xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{testpage.page1}" id="page1">
<ui:html binding="#{testpage.html1}" id="html1">
<ui:head binding="#{testpage.head1}" id="head1">
<ui:link binding="#{testpage.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{testpage.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{testpage.form1}" id="form1">
<ui:staticText binding="#{testpage.staticText1}" id="staticText1" style="position: absolute; left: 120px; top: 96px" text="#{SessionBean1.testDataProvider.value['Name']}"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
Help People ! Any Ideas I'm stuck, why is working with Sun Servet but not with Tomcat and only just thing ?
Thanks in advance for helping me to resolve the night problem :)Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
But i think it is not a elegant solution in page source i habe noused-code.
Have Any another Ideas. HELP PEOPLE !!!!
Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
greetings -
Security Error when starting the server - WPLS 7.0
Security Error when starting the server - WPLS 7.0
what may be the reason ...
console :
BUILD SUCCESSFUL
Total time: 3 seconds
Starting WebLogic Server...
<May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
<May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
c.portalServer.log>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
.jks does not exist.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
<May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
<May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
tion:java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
<May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
itialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
C:\cpDomain\bin>
Thanks
Thanks & Regards,
Siva VP,
[email protected]Looks like you cannot connect to LDAP. Are you configured correctly?
Maybe you are looking for
-
CR2008 Cannot report on IIS Log file data source
I have CR2008 (SP0) and CRXIR2 installed on a Vista desktop. I can create reports against IIS Log files using XIR2. When I attempt to make the data connection using CR2008, I go through the same dialog to select log files and dates but at the end
-
My touch will not restore, error code 1600.
I have not used it in about a year since getting my iphone. I am not sure what generation it is but I have had it for about 3 years. I do not have any security software on my compter and everything is updated. I am using a macbook pro. HELP!
-
HOW DO I Make White Background of an Image layer transparent?
i used photoshop to open a photo with a person and background and delete the background so that now it's white with the person still fully intact. I open the file in and lay this image layer on top of another video layer track in fcut express and hop
-
Hello, I think I seriously messed up somewhere along the line. I was using the Beta program and, when CS3 full became available, I uninstalled it. Only after I'd uninstalled it and tried installing the full version did I realise I hadn't deactivated
-
How do I stop itunes program from opening on it own, all the time?
How do I stop itunes from opening by itself all the time?