Set JAVA_OPTS for Tomcat in unix
Hi all,
I've faced a problem on setting multiple system properties in the JAVA_OPTS for Tomcat in Unix.
Example:
JAVA_OPTS=-Dmypath="/home/" -Dmypath2="/home2/"
I've tried in Windows and it works fine but not sure why in Unix it can't be done. Will be very appreciate if someone can help.
Nope. If your application requires more than one retrieval from System Property, it will require more than one -D in the startup. However, it only works for Windows environment not unix.
Similar Messages
-
How to set DISPLAY for tomcat service inorder to run reports using rwrun.sh
Here is my problem..
I came to know that its not possible to invoke rwrun.sh without setting the DISPLAY environment variable from the servlet or any java program. But some one proposed me a solution that to set the DISPLAY variable for TOMCAT service from where my servlet invokes the shell script written for report generation using rwrun.sh. The user for tomcat service is wwwrun ..
Do i need to set this variable in the logon script for this user ..but I couldn't find the .profile file for that.
Is there any way to set this variable for tomcat service and get the report successfully.i gave export DISPLAY=aatsv001.local:0.0 in $ORACLE_HOME/bin/reports.sh
but it gives me the following error when i invoke the report
Xlib: connection to "aatsv001.local:0.0" refused by server
Xlib: No protocol specified
REP-0069: Internal error
REP-3000: Internal error starting Oracle Toolkit.
I also tried giving localhost and also aatsv001 (without .local)
some one help me.. -
Setting Classpath for java in UNIX machine
Hi
I need to work in JAVA in UNIX machine. But, I don't know how to set the classpath in the unix machine. If anyone knows, please let me know.setenv CLASSPATH .:/homes/code:${CLASSPATH}
http://www.cise.ufl.edu/class/cop3530fa04/WinHowTo.htm -
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.
-
Security Manager Setting for Tomcat.
Hi,
Can anyone show me how to setup Security Manager for Tomcat step by step ?
What do we need to set in server.xml and tomcat policy?
After setting, how do run Tomcat?
I did refer to the Tomcat Security Guide, but I didn't success to setup Security Manager.
Can anyone explain in layman term to me?
Your help will be appreciated.
Thank you.I've solved my problem.
For those who have are interested,
you can refer to :
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat-security.html -
Does anyone have a good server.xml file for tomcat?
I am trying to link apache and tomcat on a RedHat 9 computer. I previously posted a message stating that I could not get tomcat to "automagically" make the configuration files (mod_jk.conf-auto) that all the manuals promised it would. However, I found that my problem was the lack of an ApacheConfig tag in the server.xml file. After looking at my server.xml file, I found that it was much more simplistic than I would hoped = it did not have enough comments or commented out options. It had none of the directives that the manuals said it included by default.
In short, does anyone who has apache and tomcat linked have a server.xml file that I can look at so that I can figure out what I must add to mine to get tomcat working with apache? I would greatly appreciate it if you could copy and paste the whole thing here.
Thank you very much in advance.
Edward S. RiceHi!
I am having the Apache-Tomcat4.0 version installed on a Win2000 machine. I am pasting here my server.xml. Hope it will be useful to you. I even didnot do much modifications to my server.xml except for adding a context.
Please come back if problem persists.
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory"
clientAuth="false" protocol="TLS"/>
</Connector>
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8081 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8081" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" connectionTimeout="60000"
proxyPort="80"/>
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0"/>
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Standalone" defaultHost="localhost" debug="0">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority?user=test;password=test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common"/>
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0"/>
-->
<Context path="/vijay" docBase="D:\Java\servlets" debug="0"/>
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
<!-- PersistentManager: Uncomment the section below to test Persistent
Sessions.
saveOnRestart: If true, all active sessions will be saved
to the Store when Catalina is shutdown, regardless of
other settings. All Sessions found in the Store will be
loaded on startup. Sessions past their expiration are
ignored in both cases.
maxActiveSessions: If 0 or greater, having too many active
sessions will result in some being swapped out. minIdleSwap
limits this. -1 means unlimited sessions are allowed.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
maxActiveSessions. This avoids thrashing when the site is
highly active. -1 or 0 means there is no minimum - sessions
can be swapped out at any time.
maxIdleSwap: Sessions will be swapped out if idle for this
long (in seconds). If minIdleSwap is higher, then it will
override this. This isn't exact: it is checked periodically.
-1 means sessions won't be swapped out for this reason,
although they may be swapped out for maxActiveSessions.
If set to >= 0, guarantees that all sessions found in the
Store will be loaded on startup.
maxIdleBackup: Sessions will be backed up (saved to the Store,
but left in active memory) if idle for this long (in seconds),
and all sessions found in the Store will be loaded on startup.
If set to -1 sessions will not be backed up, 0 means they
should be backed up shortly after being used.
To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
and minIdleBackup all to -1, saveOnRestart to false, then restart
Catalina.
-->
<!--
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
-->
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/EmployeeAppDb">
<parameter><name>user</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>driverName</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
</Context>
</Host>
</Engine>
</Service>
<!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
-->
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" appBase="webapps">
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
</Server> -
Remote Debugging WLS v. 8.1/ Windows: How to set JAVA_OPTIONS?
How does one set JAVA_OPTIONS with no "startWebLogic.bat" supplied with WLS v. 8.1, for remote debugging?
(Note: Prefer to not have to run in unix emulation.)
WebLogic 8.1 has the startWebLogic script file in user_projects/domains/<WLS_Domain>
directory. <WLS_Domain> is the WebLogic Server Domain directory.
Marvin Toll <[email protected]> wrote:
>How does one set JAVA_OPTIONS with no "startWebLogic.bat" supplied with
>WLS v. 8.1, for remote debugging?
>
>(Note: Prefer to not have to run in unix emulation.)
-
what is the command for RunTime.exec() to set date and time in UNIX.
please help me example
thanks in advancedo you mean like this
Runtime.getRuntime( ).exec("date -s "Tue Oct 23 20:27:26 PDT 2001"")
anyone who found this is wrong please tell me the correct command. -
Set Desname for PDF using Oracle Applications
We are running Oracle Applications 11i, 8i database on a Unix box and use windows 2000, internet explorer, acrobat 6.0 to run, and view the reports.
I just finished redesigning a Oracle report to output to PDF instead of printing on a preprinted form.
The user has requested that the output file (Report) be saved to a specific directory on a server that is on the windows platform.
The report is being run from the concurrent manager inside of Oracle Applications, which seems to be over writing my desname that is specified in my report (rdf). Our current workaround is that the user opens the file in acrobat and save it to the desired directory, which they have to set manually for each session.
Is there a way to run a report on UNIX and output the report to a windows directory?
Thanks in advance...There is a better workaround than opening an saving on desktop...I have never tried this but have an idea...that would work 100%.
The standard configuration of apps 11i is that the output file is placed in $APPLCSF/out and its on the Unix Box...but if u have apps running on NT environemnt then just share the file system of $APPLCSF with the desktop...Pretty simple....
If apps is running on Unix then u need to install software like Samba on Unix so that the desktop will be able to share the file system of unix on desktop....
Try it out...
Best of luck -
Hi Guys,
Wondering if Any one has done this or could suggest the needful,
We are running CUCM 10.5 cluster and currently using self-signed certificate for Tomcat. Now, we would like to get it signed by Third party CA.
Just to be clear that we are doing this for Jabber clients so they should not get prompted for certificate Invalid.
Now the issue; The CUCM is using IP address as hostname and for that reason we had to add the desired IP address under SAN (alternate name) through set web-security command. We did that successfully and restarted the Tomcat service and when we run the Show web-security command, it does show the added SAN;
altNames: 2 names
1) UCS-CUCM-UB.domain (dNSName)
2) 10.x.x.x (dNSName)
But when we try to generate the new CSR, it didn't contain the modified SAN, just the first one i.e only 1) UCS-CUCM-UB.domain (dNSName)
Is there anything we missed here to get the added SAN being populated in the new CSR ?
Regards
MHi Gordon,
Thank you for your prompt response. For recommendation, you are right but we don't want to initiate that change for now unless, there is no other option left.
While Generating new CSR, under SAN, there is only Parent Domain field which is populated with our domain name. How should I add the IP address there ?
Regards -
Error starting studio domain - set JAVA_OPTIONS
I am trying to install studio on weblogic server by going through the StudioInstallGuide.pdf. The step to update the setDomainEnv script file with the set JAVA_OPTIONS is somewhat problematic. I have removed the linebreaks as indicated but getting following error:
JAVA Memory arguments: -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize
=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar;C:\Java\JDK16~2.0_4\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSER
V~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblog
ic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.jar;
C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modu
les\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-c
ontrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Ora
cle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\native;C:\Oracle\MIDDLE~1
\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Or
acle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Java\JDK16~2.0_4\jre\bin;C:\Java\JDK16~2
.0_4\bin;C:\Oracle\Database\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\W
indows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\P
rogram Files\Java\jdk1.6.0_25\bin;C:\Program Files\Java\jre6\bin;C:\Endeca\Platf
ormServices\6.1.3\perl;C:\Endeca\PlatformServices\6.1.3\perl\5.8.3\bin;C:\Endeca
\PlatformServices\6.1.3\bin;C:\Endeca\PlatformServices\6.1.3\utilities;C:\Progra
m Files (x86)\Lexalytics\salience\bin;C:\Oracle\Middleware\user_projects\domains
\endeca_integrator_server_domain\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native
\win\x64\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_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
Starting WLS with line:
C:\Java\JDK16~2.0_4\bin\java -client -Xms256m -Xmx1024m -XX:CompileThreshold=8
000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.s
ecurity.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -DUseSun
HttpHandler=true -Djavax.xml.transform.TransformerFactory =com.sun.org.apache.xa
lan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuild
erFactory =com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -D
javax.xml.parsers.SAXParserFactory =com.sun.org.apache.xerces.internal.jaxp.SAXP
arserFactoryImpl -Dfile.encoding=UTF8 -Xverify:none -da -Dplatform.home=C:\Orac
le\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogi
c.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=tru
e -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.e
xt.dirs=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classp
ath weblogic.Server
Exception in thread "main" java.lang.NoClassDefFoundError: =com/sun/org/apache/x
alan/internal/xsltc/trax/TransformerFactoryImpl
Caused by: java.lang.ClassNotFoundException: =com.sun.org.apache.xalan.internal.
xsltc.trax.TransformerFactoryImpl
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: =com.sun.org.apache.xalan.internal.xsltc.trax.Tra
nsformerFactoryImpl. Program will exit.
C:\Oracle\Middleware\user_projects\domains\endeca_studio_domain>
Skipping this step seems to be my only option. Has anyone come across this before? Is this step necessary?
Thanks for your help!Can you double-check to make sure that you have no new lines or breaks in the added content? Especially around the = sign for the item that's causing the error?
Otherwise, I believe that particular item is not absolutely required - it's mostly for performance. You do, however, need the file encoding parameter. -
Setting classpath in Tomcat on AIX
Hi All
Can any one know how to set classpath for jsf application in tomcat on AIX.Refer to the Tomcat's documentation regarding classpaths and classloading. The underlying operating system doesn't really matter.
-
Unable to find setter method for attribute:
I am using Jboss jboss-4.2.3.GA, JDK 1.6.
I am trying to deploy our application on Jboss. When loading sources page or whenever we try to load the taglib we are getting the following error.
org.apache.jasper.JasperException: jspfile.jsp(67,1) Unable to find setter method for attribute: collection
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
at org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2736)
at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2965)
at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2169)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1689)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
at org.apache.jasper.compiler.Generator.generate(Generator.java:3374)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at com.ssmb.common.servlets.GenericControllerServlet.service(GenericControllerServlet.java:639)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
The line corresponding in JSP file is ,
<ssmb:list name="src_" collection="sources" showAll='<%= "" + true %>'>
Please let me know if you have faced this issue before.Have you written this tag in a tld or a tag file?
How have you declared the attribute "collection"?
Does the class which implements the custom tag <ssmb:list> have a method in it: public void setCollection(String collection) ? -
GENERATING FORMS FOR 11i IN UNIX ( ifrun60)
GENERATING FORMS FOR 11i IN UNIX ( ifrun60)
How to generate forms for forms 6i.
Just like f45gen for Forms 4.5.
nullIt is f60gen in the unix. It takes the following parameters.
f60genm Module=<formname> Userid=<userid/password> [Parameters].
Optional parameters are (default values given):
Module_Type=FORM Module type (FORM, MENU, LIBRARY, PECS).
Module_Access=FILE Module access (FILE, DATABASE).
Statistics=NO Show statistics.
Logon=YES Logon to database.
Batch=NO Don't display messages on the screen.
Output_File=<file> Write output to file.
Script=NO Write script file.
Parse=NO Parse script file.
Delete=NO Delete module from database.
Insert=NO Insert module into database.
Extract=NO Extract module from database.
Upgrade=NO Upgrade module to current version.
Upgrade_Roles=NO Upgrade SQL*Menu 5.0 role information.
Version=45 Version to upgrade (23, 30, 40, 45, or menu 50).
Crt_File=<crt file> CRT file for version 2.x form upgrade.
Build=Yes Build a runform/runmenu file when upgrading.
Add_Triggers=NO Add KEY-UP/DOWN triggers during upgrade.
Nofail=NO Add NOFAIL keyword to trigger steps.
Debug=NO Build/Run with debug information.
Compile_All=NO Compile all PL/SQL code.
Strip_Source=NO Strip pl/sql source code from library.
Window_State=Normal Root window state: (Normal, Maximize, Minimize.)
Help=NO Show this help information.
Options_Screen=NO Display Options window (on bitmap only).
Widen_Fields=NO Add one character to display width.
Print_Version=NO Print version used to save module.
Forms_Doc=NO Print Forms Doc report.
Make sure that ur .Profile is set in unix.
Thanks
Ram
null -
Do i require JDK for tomcat to run
hello,
i have developed an application and am providing it to my client with JRE , and the java compiler javac and tools.jar file as my application when run creates a web app every time and also creates 2 .java servlet files internally and then compiles them.
i provide him with tomact 4.0 , as this web-app is to be deployed , now when i try to run tomcat it is unable to run and asks for java.exe path . so i have set the classpath & path from dos and then try to run tomcat / catalina
C:\>catalina start
Using CATALINA_BASE: c:\progra~1\apache~1.0
Using CATALINA_HOME: c:\progra~1\apache~1.0
Using CATALINA_TMPDIR: c:\progra~1\apache~1.0\temp
Using JAVA_HOME: c:\progra~1\java\j2re1.4.0_01
Bad command or file name
the above error is coming.
please help as i have to hand over the software to him tommorrow and am unable to get tomcat running .
do i require the JDK to be installed too sincce i am running tomcat or do i require some specific files from jdk for tomcat to runTHIS IS SERIOUS!!!!!!!!! READ THIS!!!!!!!!!!!!!!!!!!! HEY PEOPLE JUST READ AND TRY THIS IT REALLY
WORKS!!!!!
THIS REALLY WORKS, SEE HOW THIS TEACHER
MADE XTRA BUCKS IN WEEKS!!!SIMPLE AND IT'S
LEGAL!!!!!!! I found this on a bulletin board and
decided to try it a little while back, I was
browsing through news groups just as you are
right now and came across a article similar to
this saying that you could make thousands of
dollars within weeks with only an initial
investment of $6.00!! So, I thought yeah right.
This must be a scam, but like most of us, I was
curious, so I kept reading. Anyway, it said that
you send one dollar to each of the six names and
addresses stated in the article. You then delete
the first address and change the numbers. ( 2
becomes 1, 3 becomes 2, etc.) place your own name
and address on the bottom of the list at number 6
and post the article to at least 200 news
groups. (there are thousands) No catch that was
it. Therefore, after talking to a few people and
thinking it over I decided to try it. What do I
have to lose except 6 stamps and $6.00 right?
Then I invested the measly six dollars. WELL
GUESS WHAT!!! Within 7 days, I started getting
money in the mail!!! I was shocked. I thought it
was going to stop but it just kept coming. In my
first week, I made $25.00. By the end of the
second week, I had $900.00. In the end of the
third week, I made $5,000.00!!! It's still
growing right now. This is now my fourth week and
I have made a total of just over $38,000.00!
Moreover, it's still coming in rapidly. This is
certainly worth $6.00 and 6 stamps. I have spent
more than that on the lottery!! Let me tell you
how this works nd most importantly why it
works...Also make sure that you print a copy of
this article NOW so you can get the information
off of it as you need it. I promise you that if
you follow the directions exactly, that you will
start making more money than you possibly thought
just by doing something so easy!! SUGGESTION:
READ THIS ENTIRE MESSAGE CAREFULLY (Print it
out or down load it) Follow the simple directions
and watch the money come in! It's easy. It's
legal. And your investment is only $6.00(plus
postage) IMPORTANT: This is not a rip off; it is
not indecent; it isn't illegal; and it is
virtually no risk - it really works!!!!! If all
of the following instructions are adhered to, you
will receive extraordinary dividends. PLEASE
NOTE: please follow these directions exactly and
$1,000's or more can be yours in 20 to 60 days.
This program remains successful because of the
honesty and integrity of the participants. Please
continue its success by carefully adhering to the
instructions. You will now become a part of the
mail order business. In this business, your
product is not solid and tangible, it's a
service. You are in the business of developing a
mailing list. Many large corporations are happy
to pay big bucks for quality list. However, the
money made from the mailing list is secondary to
the income, which is made from people like you
and me asking to be included to that list. Here
are the four steps to success: STEP 1: Get 6
separate pieces of paper write the following on
each piece of paper "PLEASE PUT ME ON YOUR
MAILING LIST." Now get 6 us 1dollar bills and
place ONE inside EACH of the six pieces of paper
so the bill will not be seen through the envelope
to prevent thievery. Next, place one paper in
each of the 6 envelopes and seal them. MAKE SURE
THERE ARE ENOUGH STAMPS ON YOUR ENVELOPES. You
should now have 6 sealed envelopes, each with a
piece of paper stating the above phrase your name
and address and a $1.00 bill. What you are doing
is creating a service. THIS IS ABSOLUTELY LEGAL!
You are requesting a legitimate service and you
are paying for it! Like most of us, I was a
little skeptical and a little worried about the
legal aspects of it all. So, I checked it out
with the U.S. Post Office (1-800-725-2161) and
they confirmed that it is indeed legal!!!!! Mail
the six envelopes to the following addresses: #1) John Hernandez 1600 Maiden Lane Richmond Tx. 77469
#2) Matt Schumacher P.O.Box 936 Ogden KS. 66517 #3) TRB 14135 Armant Place Dr. Cypress Tx. 77429
#4) Chuks Orji, Samuel Opara 8304 S. Course, #506
Houston, Tx. 77072
#5). Malcolm Williamson 502 E Michigan Apt#10
Urbana, IL 61801
#6) Eric Ogles 416 Arbor Ridge Dr. Stone Mountain GA. 30087
STEP 2: Now take the #1 name off the list that
you see above, move the other names up (6
becomes 5, 5 becomes 4, etc...) and add YOUR name
as number 6 on the list. STEP 3: Change anything
you need to but try to keep this article as
original as possible. Now post your amended
article to at least 200 news groups. ( I think
there are 24,000 groups) All you need is 200, but
remember, the more you post , the more money you
make! ** EVERYBODY AROUND THE WORLD CAN DO THIS
BUT REMEMBER TO PUT ENOUGH STAMPS ON YOUR
ENVELOPES!!!!** This is perfectly legal! If you
have any doubts, refer to title 18 sec. 1302 &
1341 of the postal lottery laws. Keep a copy of
these steps for your self and whenever you need
money, you can use it again and again. PLEASE
REMEMBER that this program remains successful
because of the honesty and integrity of the
participants and by carefully adhering to the
directions. Look at it this way, if you are of
integrity, the program will continue and the
money that so many others have received will come
your way. NOTE: You may want to retain every name
and address sent to you, on either a computer or
a hard copy and keep the notes people sent you.
This verifies that you are truly providing a
service. (Remember to wrap the $1 bill in the
note to prevent mail theft.) So, as each post is
downloaded and the directions carefully followed,
six members will be reimbursed for their
participation as a list developer with one dollar
each. Your name will move up the list
geometrically so that when your name reaches the
#1 spot you will be receiving thousands of
dollars in CASH!!!!! What an opportunity for only
$6.00 ($1 for each of the six people listed
above) Send it now, add your own name to the list
and you're in business! DIRECTIONS: HOW TO POST
TO NEWS GROUPS STEP 1: You do not need to retype
this entire letter to do your own posting. Simply
put your cursor at the beginning of this letter
and drag your cursor to the bottom of this
document, and select "copy" from the edit menu.
This will copy the entire letter into the
computer's memory. STEP 2: Open a blank notepad
file and place your cursor at the top of the
blank page. From the edit menu, select "paste."
This will paste the copy of the letter into
notepad so you can add your name to the list.
STEP 3: Save your new notepad file as a .txt
file. If you want to do your postings in
different settings, you'll always have this file
to come back to. STEP 4: Use Netscape and
Internet Explorer and try searching for various
news groups (on-line forums, message boards,
chat sites,discussions.) STEP 5: Visit these
message boards and post this article as a new
message by highlighting the text of this letter
and selecting "paste" from the edit menu. Fill in
the subject, this will be the header that
everyone sees as they scroll through the list of
postings in a particular group, click the post
message button. You're done with the first one!
CONGRATULATIONS,...THAT'S IT! All you have to do
is jump to different news groups and post away,
after you get the hang of it, it will take 30
seconds for each news group! **REMEMBER, THE MORE
NEWS GROUPS YOU POST IN (MESSAGE BOARDS ETC.) THE
MORE MONEY YOU WILL MAKE!! BUT YOU HAVE TO POST A
MINIMUM OF 200. That's it! You will begin
receiving money from around the world within
days! You may eventually want to rent a P.O. Box
due to the large amount of mail you will receive.
If you wish to stay anonymous, you can invent a
name to use as long as the postman will deliver
it. **JUST MAKE SURE THE ADDRESS IS CORRECT** Let
me break it down, say I receive only 5 replies,
so then I made $5 with my name at #6 on the
letter. Now each of the 5 persons who just sent
me $1 made the MINIMUM 200 postings, each with my
name at #5 and only 5 people respond to the
original 5 people. That is another $25 for me.
Now those 25 people make the MINIMUM 200 post
with my name at number 4 and only 5 replies each,
I will make $125. Now, those 125 people post the
MINIMUM 200 postings with my name at #3 and only
get 5 replies each, I will make an additional
$626! OK, now here's the fun part each of those
625 people post a MINIMUM 200 with my name at #2
and they only get 5 replies that just made me
$3,125!!! Those 3125 people send a MINIMUM 200
postings and they only get 5 replies each with my
name at #1, I will receive $15,625!!! With an
original investment of $6!!!! AMAZING!!!! . When
your name is no longer on the list, you just take
the latest postings in the news groups and send
out another $6 to names on the list putting
yourself at #6 and start posting again. Thousands
of people are joining the internet each day and
they are reading articles like these just as you
are right now. So this can never be played out
just keep it going and you can make tons of money
too!!!! Please try it now and make big bucks in a
few short weeks!!!!!! What do you have to lose?
Maybe you are looking for
-
My Macbook pro 13 inch is stuck on a gray screen with the apple logo, how do I fix this?
Sooo, I was using my laptop for a while and the charger was kind of broken, it was dip in and out, and slowly I got a "Service Battery" notification. I updated my system and now everytime I try to boot up my computer it'd show a gray screen with the
-
Urgent: Error in Inbound Proxy in SCM system
Hi All Please give your inputs to solve following problem I am facing. I am working on XI first time so please help me out to solve the following problem. Please let me know if you need any more info. Thanks a lot for your help guys. I am sending ORD
-
Problem connecting Nexus 5 to Scout
So I cannot connect my Nexus 5 (Android 4.4.2) to Scout, but Nexus S (Android 4.1.2) and iPhone connect fine. They are all in the same wi-fi network. Any idea what could go wrong? Thanks!
-
when i post sale base item to gl the period for which it is port is not show in fbl5n customer line item how it possible to see period in line item also Nutan
-
Hi , have include program name need to find the Enhancement name for purpose to activate the cmod project , Please guide hpw to do it Regards, Sant