Tomcat over Linux
hi
i need to know which is better, to deploy JSP application over Windows or over Linux and why ?
The Java runtime environment doesn't automatically give you access to the OS environment variables. You need to pass the environment variables that you want available in your runtime during startup. This is done using the "-D<name>=<value>" options (see java -help for full syntax).
For Tomcat 4.0 you can pass parameters to the JRE by specifying the options to be passed in an environment variable named JAVA_OPTS (e.g. export JAVA_OPTS='-Dname=value'). For more info on this checkout the documentation at the beginning of the bin/catalina.sh in your Tomcat install directory.
Hope this helps.
Similar Messages
-
Error 500 when I'm running JSP with tomcat on Linux
I'm using Tomcat on linux and when I'm running any JSP file I got this Error:
Error: 500
Location: /examples/jsp/snp/snoop.jsp
Internal Servlet Error:
javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
What I'm doing wrong?
thank you for help, SnirI've got the same problem but on a Win98 platform also in Solaris OS
By copying the file JAVA_HOME/lib/tools.jar to the following path :
JAVA_HOME/jre/lib/ext/
another alternative is to set your classpath so that it point to the .jar files in your environnement variaoble
ex under Win98:
include this line in your autoexec.bat file
SET CLASSPATH=.;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\lib\dt.jar
under Linux:
edit your .source that include environnment variables and add :"anOldPath:/jdk1.3/lib/tools.jar"
run the source in your terminal window then you can run ./startup under solaris or startup.sh
JAVA_HOME : c:\jdk1.3 or c:\jdk1.2.2 under win98
/home/user/auser/jdk1.2.2/ on linux
I hope that you encounter this problem.
Hichem Hassainia. -
I want clear steps to setup Tomcat in Linux for running JSP and Servlet.
Thanks in advance![sigh]
Is your Google broken?
http://www.google.com/search?q=Install+Tomcat+on+Linux -
Why choose Solaris 10 over Linux?
Hey everyone -
I was wondering if any of you would mind telling me what advantages Solaris 10 holds over Linux?
I'm not well informed on their pros/cons and would love to hear the perspectives of some gurus.
Thanks, I appreciate the insight!I am actually in the process of trying to answer this question for an upcoming project I am involved with. I have worked heavily with both Linux (SLES10, RHEL specifically) and also with Solaris 7,8,9, and 10 over the past several years. Honestly, I can argue on either side but I am trying to find compelling answers to bring to the management table. This may be like the search for WMD's but I think I have some answers and I continue to find myself leaning towards Solaris as I have in the past. One of the biggest reasons I chose Linux in the past was the ability to run on X86. That no longer is an issue. The many advantages of Solaris are for sure Dtrace which I have found extremely useful. Also one thing i'm finding is that support has become cheaper through sun than it is through Novell. One other thing is hardware. I have several Sun hosts that have been around longer than I have and continue to run while it seems I'm getting 4-5 years or less out of my other servers(Dell). Linux has gotten 10 times better since 2.4 and even better with 2.6 but with Dtrace, Containers and ZFS, I'm partial to Solaris. Also, ACL's are good in Solaris. I've never used them in Linux so I cannot comment.
If I'm off base on anything let me know and please add anything else. -
Versions for Oracle installation over Linux
We are working for a project in the university, and basically we want to install Oracle over Linux, and develop some web applications. Before we start this project, I would like to learn which Oracle(8i or 9i) and Linux (Red Hat or Mandrake) versions would work fine and perfectly together. Since this project will be time consuming, I would rather take a right decision before we get into details.
I would be glad if anybody share that kind of experience,
Thanks in advance,
Ocal Yilmaz
California State University, Chico
MBA Program8.1.7 on RedHat 7.1 =>Thought we were using older version that would work better...
Wrong... 4 systems hang every 3 days to 2 weeks... testing a RH VM patch now...
TAR open for 6 weeks!!! we look bad despite conservative approach...
appreciate suggestions from anyone...
[email protected] (203)740-5258 Brookfield, Ct -
Why Not? Dreamvweaver Over Linux Platform
"vicentehe" <[email protected]> wrote in
message
news:fj49gr$ngc$[email protected]..
> Why Not? Linux Over Linux Platform
Dreamweaver MX and 8 are supposed to run on linux with
Crossover
http://www.codeweavers.com/compatibility/search?name=Dreamweaver&search=app -
Tomcat on Linux with10g using OCI Client UnsatisfiedLinkError: no ocijdbc10
I'm having some issues configuring Tomcat with a 10g JDBC driver under Linux using the OCI thick client. When I attempt to get a database connection I get the following:
java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
java.lang.ClassLoader.loadLibrary(Unknown Source)
java.lang.Runtime.loadLibrary0(Unknown Source)
java.lang.System.loadLibrary(Unknown Source)
oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:2854)
oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:343)
oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:135)
oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:107)
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:446)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:512)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:543)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:564)
org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:114)
org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:201)
Now I've seen other instances of the above and they basically come down to making sure that the ojdbc14.jar file is in my classpath, and I thought I had that covered.
Here's everything I've done:
added ojdbc14.jar to $TOMCAT_HOME/common/endorsed
added ojdbc14.jar to $TOMCAT_HOME/common/lib
verified that ORACLE_HOME is defined: /app/oracle/product/10.1.0/client_1
verified that LD_LIBRARY_PATH is defined: /app/oracle/product/10.1.0/client_1/lib
added the following to the java commandline for Tomcat:
-Djava.library.path="$ORACLE_HOME"
the above -Djava.library.path didn't work so made the following change (which still didn't work)
-Djava.library.path="$ORACLE_HOME"/lib
my PATH variable includes both $ORACLE_HOME and $ORACLE_HOME/lib
echo $PATH:
/app/oracle/product/10.1.0/client_1:/app/oracle/product/10.1.0/client_1/lib
I have no idea what else I am missing or if my Oracle client installation is just hosed.
Any assistance would be appreciated.Use the thin driver.
no ocijdbc10 in java.library.path -
Character encoding problem using XSLT and Tomcat on Linux
Hi,
I have an application running on a Tomcat 4.1.18 application server that applies XSLT transformations to DOM objects using standard calls to javax.xml.transform API. The JDK is J2SE 1.4.1_01.
It is all OK while running on a development enviroment (which is Windows NT 4.0 work station), but when I put it in the production enviroment (which is a red hat linux 8.0), it comes up with some kind of encoding problem: the extended characters (in spanish) are not shown as they should.
The XSL stylesheets are using the ISO-8859-1 encoding, but I have also tried with UTF-8.
These stylesheets are dynamicly generated from a JSP:
// opens a connection to a JSP that generates the XSL
URLConnection urlConn = (new URL( xxxxxx )).openConnection();
Reader readerJsp = new BufferedReader(new InputStreamReader( urlConn.getInputStream() ));
// Gets the object that represents the XSL
Templates translet = tFactory.newTemplates( new StreamSource( readerJsp ));
Transformer transformer = translet.newTransformer();
// applies transformations
// the output is sent to the HttpServletResponse's outputStream object
transformer.transform(myDOMObject, new StreamResult(response.getOutputStream()) );Any help would be appreciated.Probably you need to set your LANG OS especific environment variable to spanish.
Try adding this line:
export LANG=es_ES
to your tomcat/bin/catalina.sh, and restart tomcat.
It should look like this:
# OS specific support. $var _must_ be set to either true or false.
cygwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
esac
export LANG=es_ES
# resolve links - $0 may be a softlink
PRG="$0"
.(BTW, keep using ISO-8859-1 encoding for your XSL)
HTH
Un Saludo! -
Install and run blazeds-turnkey-3.2.0-3978 in Tomcat in Linux
I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
(service-config.xml, ...) in the distribution package.
Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
I changed the configuration files as following:
For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to blazeds
For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to ds-consolo
For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to samples
It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything?I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
(service-config.xml, ...) in the distribution package.
Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
I changed the configuration files as following:
For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to blazeds
For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to ds-consolo
For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80)
{context-root} to samples
It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything? -
Install and run blazeds-turnkey-3.2.0-3978 in Tomcat on Linux
I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in my laptop (Window Vista Pro) successfully.
Blazeds, ds-consolo, and samples applications are working fine. I'm not using Flex Builder for this. The ds-consolo and samples are
accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
(service-config.xml, ...) in the distribution package.
Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution with the same Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
I changed the configuration files as following:
For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80).
{context-root} to blazeds
For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80).
{context-root} to ds-consolo
For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
{server.name}:{server:port} to xyz.com (xyz.com is the domain name, and we use default port 80).
{context-root} to samples
It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
errors. Did I set the parameters in the configuration files, especially {context-root}, correctly? Am I missing anything?If it is caused by a wrong port, I should get an error message or timeout.
This is the services-config.xml file I'm using for Blazeds app
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="proxy-config.xml" />
<service-include file-path="messaging-config.xml" />
</services>
<security>
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
</security>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://infody.com/blazeds/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint url="https://xyz.com/blazeds/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
<channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xyz.com/blazeds/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>4</polling-interval-seconds>
</properties>
</channel-definition>
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>false</enabled>
</redeploy>
</system>
</services-config>
There is no url or port settings in the other three Blazeds configuration xml file: remoting-config.xml, proxy-config.xml, messaging-config.xml
Here is the services-config.xml file for ds-console app:
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<!--
REMOTING SERVICE
-->
<service id="remoting-service" class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<!-- Runtime management console destination -->
<destination id="RuntimeManagement" channels="amf">
<properties>
<source>flex.management.jmx.MBeanServerGateway</source>
</properties>
</destination>
</service>
</services>
<security>
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
</security>
<channels>
<channel-definition id="amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xyz.com/ds-console/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
</channels>
<logging>
<!-- You may also use flex.messaging.log.ServletLogTarget -->
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>true</includeLevel>
<includeCategory>true</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>ds-console/WEB-INF/flex/services-config.xml</watch-file>
<touch-file>ds-console/WEB-INF/web.xml</touch-file>
</redeploy>
</system>
</services-config> -
How to Talk to an MCU over Linux
I am running Arch64 and I have an Intel 8051 microcontroller (Silicon Labs C8051F020) with the USB-to-JTAG connection. I installed the latest SDCC from AUR and am planning to modify an example code from the C8051F020 page (https://www.silabs.com/products/mcu/mix … 1F02x.aspx) to blink an LED (it's my first MCU project). Does anyone know how I can transfer the binary, once I've compiled it with SDCC, to the MCU itself, over the USB-to-JTAG cable/box? Is there a driver I should install for it or something? Thanks in advance, and I apologise for what is probably a dumb question.
I like the Atmel AtMega stuff myself. Nice little chips that are well supported in linux. The Atmel JTAG even integrates with gdb letting you debug from with your favorite environment (emacs, netbeans, etc...)
But, as to your question. I have not used an 8051 in over a decade, but you might see if you can get this to work:
https://www.silabs.com/Support%20Docume … ources.zip
You will have to compile it in the traditional GNU Autotools way
./configure
make
sudo make install
Last edited by ewaller (2009-09-17 04:17:55) -
HTTP2302 error with tomcat and linux environment
We are using Sun Java(TM) System Web Server 7.0 with Tomcat 6.0.14 in Linux environment. We are frequently facing "Service Unavailable error" in the frontend . while verifying the logs we found the details as below :
could you guinde what could be issue here ?
In Webserver log the following error thrown many times
func_exec reports: HTTP2302: Function jk_service aborted the request without setting the status code
We are using the tomcat connector nsapi_redirector-1.2.26-sjsws6.1sp11.so in our environment
nsapi.log
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (448): socket TCP_NODELAY set to On
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (548): trying to connect socket 30 to 160.254.92.190:8051
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] jk_open_socket::jk_connect.c (566): connect to 160.254.92.190:8051 failed (errno=111)
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_connect_to_endpoint::jk_ajp_common.c (869): Failed opening socket to (160.254.92.190:8051) (errno=111)
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_send_request::jk_ajp_common.c (1359): (ajp13) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_service::jk_ajp_common.c (2186): (ajp13) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_service::jk_ajp_common.c (2204): (ajp13) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] jk_service::jk_nsapi_plugin.c (398): service() failed with http error 503
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_reset_endpoint::jk_ajp_common.c (691): (ajp13) resetting endpoint with sd = 4294967295 (socket shutdown)
[Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for worker ajp13
h1. Obj.conf
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
<If $uri =~ '^/$'>
NameTrans fn="redirect" from="/" url="http://wikitest.pershing.com/confluence/" code="301"
</If>
NameTrans fn="assign-name" from="/confluence/*" name="servlet"
PathCheck fn="uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
Service method="TRACE" fn="service-trace"
AddLog fn="flex-log"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>
<Object name="send-precompressed">
PathCheck fn="find-compressed"
</Object>
<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>
<Object name="servlet">
ObjectType fn="force-type" type="text/html"
Service fn="jk_service" worker="ajp13"
</Object>Hi, The reason tomcat had to be used is that the software is bundled with tomcat. Hence we are in the following configuration:
-Sun Web Server 7.0 update 5
-Tomcat 6, Using JRE1.6
-The server runs Linux.
-As for the tomcat web server plugin, the 32-bit tomcat connector is downloaded from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.26/sparc/
With this configuration. seems when we refresh a page quickly, we get "service unavailable error". But if we only put web contents, the issue does not exist. Looks like the issue resides in the plugin....
Any help is greatly appreciated -
Sqldeveloper's window blank over Linux
Hi Forum
I've installed Sqldeveloper 1.1. Patch 1 over Mandriva Linux 2007 via rpm and via zip file for multiple platforms. Installation process was succesfull but in both cases when I ran sqldeveloper.sh application window appears with a normal behavior (Tittle in Window Title Bar, Icon, Minimize, maximize and close buttons, resize borders) BUT inside the window doesn't appear any kind of control: No toolbars, nor edit area or connection tree.
I'm using j2re version 1.5.0_08 and KDE 3.5. Any Idea for correct this problem ?
Thanks in advice !!I'm not sure this will overcome your issue, but try using a JDK instead of a jre. I'm currently using Mandriva 2007, gnome and JDK 1.5.0_10. I've also successfully used JDK 1.5.0_08.
I never tried to get it to work with a jre because the SQL Dev download page refers to 'JDK 1.5'.
Good luck! -
Best Performance for apex over Linux+HW RAID
Dear Experts,
Given:
-- Server Specs:
---- HP ProLiant ML370 G6 E5540
---- Processor name: Intel® Xeon® E5540 (4 core, 2.53 GHz, 8MB L3, 80W)
---- Storage Controller: (1) Smart Array P410i/256MB
---- 8 SAS HardDisks with 320 GB for each
---- 12 GB RAM
Required:
1)) What are the best practice bring the best performance to Apex for the following solution stack
---- Oracle Linux 6.3 x86_64
---- Grid Infrastructure 11g R2
---- Database 11g R2
---- Oracle Apex 4.2.1
2)) What is the best hardware RAID configuration?
3)) What is the maximum concurrent users of applications on apex according to the above specs+software stack ?
Regards
MahmoudDear Alvaro
Thank you for your response.
The current status
When I entered HP ACU from bootable Smart Start CD, I found under the configuration of Smart Array P410i in Embedded Slot, the following:
-Smart Array P410i in Embedded Slot
---Internal Drive Cage at Port 1I : Box 1
------300 GB 2-Part SAS Drive at Part 1I : Box 1 : Bay 1
------300 GB 2-Part SAS Drive at Part 1I : Box 1 : Bay 2
------300 GB 2-Part SAS Drive at Part 1I : Box 1 : Bay 3
------300 GB 2-Part SAS Drive at Part 1I : Box 1 : Bay 4
---Internal Drive Cage at Port 2I : Box 1
------300 GB 2-Part SAS Drive at Part 2I : Box 1 : Bay 5
------300 GB 2-Part SAS Drive at Part 2I : Box 1 : Bay 6
------300 GB 2-Part SAS Drive at Part 2I : Box 1 : Bay 7
------300 GB 2-Part SAS Drive at Part 2I : Box 1 : Bay 8
The questions now:
1) Do you recommend the following configuration for RAID's logical arrays:
Using Logical View:
SAS Array A - 4 Logical Drive(s)
--- Logical Drive 1 (50.0 GB, RAID 1+0) ---> for OS
--- Logical Drive 2 (24.0 GB, RAID 0) ---> for SWAP
--- Logical Drive 3 (200.0 GB, RAID 1+0) ---> for ASM DATA
--- Logical Drive 4 (296.7 GB, RAID 1+0) ---> for ASM FRA
SAS Array B - 1 Logical Drive(s)
--- Logical Drive 5 (1.1 TB, RAID 0) ---> for non-critical applications and sources
2) What are your recommendations for the following steps to reach oracle apex 4.2 installed?
Best Regards
Mahmoud -
How to configur Tomcat in Linux
Hello,
Want some help about how to conficure Tomcat5.1 in Lunux...I had worked alot in windows ...
Thanks....
Regards
AaronN
:)Go to the Tomcat home page. You will find good documentation there on how to do it.
Maybe you are looking for
-
Cannot open file, Photoshop is not compatible with this version of photoshop. 2 weeks
This has been a problem for almost 2 weeks now. Cant save any work in photoshop, files are unretrievable once closed. I get the same error message. I spent all of last week online with Adobe Tech support, screen sharing conference etc, now iMac isnt
-
I am using JCo 3, but I have problem to use it. Even I tested RFC using the JRfcTest tool successfully, but when I use JCo to getDestination, and then destination.getRepository(), I always get exception as below: message: Communication with RFC s
-
I am using a Flex form to gather information that is submitted to a Cold Fusion function page via HTTPService. I can successfully gather, submit and insert the data with no problems. What is the best way to provide feedback from my CF page to my Flex
-
OWB 10.2 Multilanguage Support (MLS) - no way?
Hi Experts, it seems Oracle forgot to implement the MLS Support for Dimensions. 1. Languagespecific Descriptions for Dimension, Attributes, Hierarchies, ...: You can specify this in OWB (Properties on a Dimension, Tab Translations), but this has no e
-
I have the following job which fails. Not sure why an I am not able to dig up much on these errors. It does not like the dbms_datapump.add_file section. Help would be appreciated: declare h1 NUMBER; begin begin h1 := dbms_datapump.open (operation =>