Error in JDBC with Apache Tomcat5.0
Hi......
Now am using Tomcat5.0..Here database connnection is not working...(But all other jsp and servlets are working)....But in Tomcat 4.0 database connections are working well.Now i want to execute the connection using Apache Tomcat5.0...using Tomcat 5.0 it shows some errors.I set the Data source name properly...
But I don't know why this errors are coming?
I wrote some simple code only. here is.....
<%@ page import="java.sql.*"%>
<% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection cn=DriverManager.getConnection("jdbc:odbc:erp","","");
out.println(cn);%>
The error is
javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.sample2_jsp._jspService(sample2_jsp.java:63)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3028)
R u having anyidea abt this??..
But i set the DSN properly.......
But i set the DSN properly.Care to bet?
Similar Messages
-
Error connecting jdbc with SQL server
Hi,
I get the following error when I try to run a sample program to connect SQLserver with JDBC . The driver I used to connect is " com.microsoft.jdbc.sqlserver.SQLServerDriver ".
I have registered the driver properly but have problem in connecting to JDBC.
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at Test.main(Test.java:12)
pls help
Thanks in advanceWell there is something wrong with your database URL you are giving to the driver. You should lookup the documentation for the driver and see what format the URL should be in.
Here is an open source driver you could try too -- http://jtds.sourceforge.net/ -
i wanne make my ResultSet Scrool
when i make it
causes Apache server to fail
but when i use the same code in console application
it gave me my result well
when i make resultset in my jsp code forward only
it run but not gave me valid date
i see that the problem is in Apache
thanx for helppost ur code..
-
Mod_jk load error with Apache on OS X
Hello -
I have been running CF9 on OS X with a MacPorts install of Apache 2.2.21 with no issues as a "standalone" server installation. To get ready for CF10 I have ben trying to get CF10 configured with Apache. The specefic error I am getting when launching Apache is:
Cannot load /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so into server: dlopen( /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so, 10): Symbol not found: _apr_stat$INODE64\n Referenced from: /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so\n Expected in flat namespace\n /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so
I have done the following:
1. Recompiled Apache and forced a 64-bit compile
2. Uninstalled CF9
3. Uninstalld and reinsalled CF10
4. apxs is installed in /opt/local/apache2/bin (listed asa requirement in one of the documentation PDFs)
5. This is a Lion 10.7.3 with Xcode 4.2.1 currently installed
The error listed above is only a warning. Apache starts and still servers html files. I am a bit stumped and have no experience with Tomcat. Any help in finding a solution to this problem will be appreciated.
Thank you
RichardMade progress -
Setting the max_packet_size seemed to start the 1st time CF10 admin process, just like it did with CF9 the 1st time we access the administrator. Then, it just went to a blank white screen.
mod_jk.log reports:
[error] ajp_process_callback::jk_ajp_common.c (1825): Unknow ajp protocol code: 0F
[error] ajp_process_callback::jk_ajp_common.c (2426): (cfusion) connecting to tomcat failed
Now: here is something interesting:
Look at the end of the URL when it 1st attempts to access administrator: It is index.cfm?configServer=true or index.cfm?serverConfig=true
By removing this it allows me to simply click on the "continue" option and low and behold the CF admin comes up.
I also have an issue with topnav.cfm reporting a 400 (Bad Request)
Quiting the browser and comming back to CF Admin displays the login page but after enter username and password I land on index.cfm and it goes no further.
Refreshing the page starts to rope in various admin componets.
Also, it will not process any simple cfm template reporting an internal server error.
Hopefully this has to do with this being a beta. -
Hello
I am using Hibernate 4, Spring 3 , JSF 2.0 and Weblogic 10.3.6
When I start weblogic server and server starts successfully, however whenever it starts publishing application, I am getting the following exception.
Error creating bean with name
'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException:
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'entityManagerFactory'defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed;
nested exception is java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/
SharedCacheMode;
Caused By: java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()
Ljavax/persistence /SharedCacheMode; at
org.hibernate.ejb.util.LogHelper.logPersistenceUnitInfo(LogHelper.java:38) at
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:525)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManager I have the following in applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="net.test" />
<!-- Data Source Declaration -->
<bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
destroy-method="close">
<property name="driverClass" value="oracle.jdbc" />
<property name="jdbcUrl" value="jdbc:oracle:thin:@server:1521:DB" />
<property name="user" value="scott" />
<property name="password" value="tiger" />
<property name="maxPoolSize" value="10" />
<property name="maxStatements" value="0" />
<property name="minPoolSize" value="5" />
</bean>
<bean
class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
<!-- JPA Entity Manager Factory -->
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="dataSource" ref="DataSource" />
<property name="packagesToScan" value="net.test.entity" />
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="showSql" value="true" />
<property name="generateDdl" value="false" />
<property name="databasePlatform" value="${jdbc.dialectClass}" />
</bean>
</property>
</bean>
<bean id="defaultLobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler" />
<!-- Session Factory Declaration -->
<bean id="SessionFactory"
class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
<property name="dataSource" ref="DataSource" />
<property name="annotatedClasses">
<list>
<value>net.test.entity.Department</value>
<value>net.test.entity.Employees</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
</prop>
</props>
</property>
</bean>
<!-- Enable the configuration of transactional behavior based on annotations -->
<tx:annotation-driven transaction-manager="txManager" />
<tx:annotation-driven transaction-manager="transactionManager" />
<!-- Transaction Config -->
<bean id="txManager"
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
<property name="sessionFactory" ref="SessionFactory" />
</bean>
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="entityManagerFactory" />
</bean>
<context:annotation-config />
<bean id="hibernateStatisticsMBean" class="org.hibernate.jmx.StatisticsService">
<property name="statisticsEnabled" value="true" />
<property name="sessionFactory" value="#{entityManagerFactory.sessionFactory}" />
</bean>
<bean name="ehCacheManagerMBean"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" />
<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
<property name="locateExistingServerIfPossible" value="true" />
</bean>
<bean id="jmxExporter" class="org.springframework.jmx.export.MBeanExporter"
lazy-init="false">
<property name="server" ref="mbeanServer" />
<property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING" />
<property name="beans">
<map>
<entry key="SpringBeans:name=hibernateStatisticsMBean"
value-ref="hibernateStatisticsMBean" />
<entry key="SpringBeans:name=ehCacheManagerMBean" value-ref="ehCacheManagerMBean" />
</map>
</property>
</bean>
</beans>
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.test</groupId>
<artifactId>myappp</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>myappp</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>prime-repo</id>
<name>PrimeFaces Maven Repository</name>
<url>http://repository.primefaces.org</url>
<layout>default</layout>
</repository>
</repositories>
<properties>
<spring.version>3.1.1.RELEASE</spring.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- JSF library -->
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- Primefaces library -->
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>afterwork</artifactId>
<version>1.0.8</version>
</dependency>
<!-- Hibernate library -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.12.1.GA</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<!-- Oracle Java Connector library -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
<!-- Log4j library -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.4</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>1.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.extensions.cdi.core</groupId>
<artifactId>myfaces-extcdi-core-api</artifactId>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>4.0.1.Final</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>2.0.6</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<!-- source output directory -->
<outputDirectory>target/metamodel</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>In Weblogic 10.3.6 I have enabled JPA2 support by adding the following in commEnv.cmd
@rem Enable JPA 2.0 functionality on WebLogic Server
set PRE_CLASSPATH=%BEA_HOME%\modules\javax.persistence_1.1.0.0_2-0.jar;
%BEA_HOME%\modules\com.oracle.jpa2support_1.0.0.0_2-1.jarApplication which works on WLS 10.3.6 is http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_dev.zip and the one which is not working is
http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_win32.exe.
How can I resolve these errors and exceptions? Any help is highly appreciable.
ThanksLooks like you might have a spelling error in your spring config, or are trying to set a read-only property. BdasInterfaceManagerImpl has been configured as having a method called setBdasInterfaceJdbcDao() : does it?
By the way, we now know that you're writing code for JP Morgan - there's a slight risk that this could bite you in the @ss at some point (there are some malicious people around) you might want to take that into consideration next time! -
Our ap server is crashing unexpectedly after running for a period of time. The system is Solaris 10 and Sun App Server 8.1 EE.
The stack trace is:
java.security.ProviderException: Internal error: close session with active objects
sun.security.pkcs11.SessionManager.closeSession(SessionManager.java:197)
sun.security.pkcs11.SessionManager.access$000(SessionManager.java:48)
sun.security.pkcs11.SessionManager$Pool.release(SessionManager.java:253)
sun.security.pkcs11.SessionManager.releaseSession(SessionManager.java:155)
sun.security.pkcs11.Token.releaseSession(Token.java:245)
sun.security.pkcs11.P11SecureRandom.engineNextBytes(P11SecureRandom.java:98)
java.security.SecureRandom.nextBytes(SecureRandom.java:413)
java.security.SecureRandom.next(SecureRandom.java:435)
java.util.Random.nextInt(Random.java:188)
com.sun.enterprise.util.uuid.UuidUtil.getNextInt(UuidUtil.java:142)
com.sun.enterprise.util.uuid.UuidUtil.getNextRandomString(UuidUtil.java:146)
com.sun.enterprise.util.uuid.UuidUtil.generateUuid(UuidUtil.java:50)
com.sun.enterprise.util.uuid.UuidGeneratorImpl.generateUuid(UuidGeneratorImpl.java:25)
org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:993)
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:796)
org.apache.catalina.session.StandardManager.createSession(StandardManager.java:292)
org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2365)
org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2202)
org.apache.coyote.tomcat5.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:838)
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:265)
com.localmatters.mvc.web.filter.AptasServletRequestWrapper.getSession(AptasServletRequestWrapper.java:184)
com.localmatters.mvc.web.filter.AptasServletRequestWrapper.getSession(AptasServletRequestWrapper.java:170)
com.aptas.etosha.web.handler.ExceptionResolver.getModelAndView(ExceptionResolver.java:76)
org.springframework.web.servlet.handler.SimpleMappingExceptionResolver.resolveException(SimpleMappingExceptionResolver.java:174)
com.aptas.etosha.web.handler.ExceptionResolver.resolveException(ExceptionResolver.java:96)
org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:915)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:739)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
com.aptas.etosha.filters.InterceptorFilter.doFilter(InterceptorFilter.java:56)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:137)
com.localmatters.mvc.web.filter.AbstractSpiderFilter.doFilter(AbstractSpiderFilter.java:94)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:137)
com.localmatters.mvc.web.filter.EtoshaFilter.doFilter(EtoshaFilter.java:107)
Any help most welcome
Thanks
MikebrosThis issue seems like either a JDK bug or a JVM bug. Do you see any hs_err_pidxxxx.txt files created when appserver gets crashed? If so this is a JVM bug. You could try to upgrade your appserver's jdk to the latest version - 1.5.0_09 and/or ask for help in Java security related forum.
-
Hello Archers,
I've set up an svn Server with Apache folloing your wiki on my raspberry pi.
https://wiki.archlinux.org/index.php/LAMP
https://wiki.archlinux.org/index.php/Subversion_Setup
Unfortunately I get errors when I try to commit several files (15 or so). I think it is a timeout issue, however I don't know where to specify the timeout in the httpd.conf (or httpd-ssl.conf)
This is a client error message:
Commit failed (details follow):
Unexpected end of svndiff Input
And this the corresponding server side log:
[date] [dav:error] [pid 448:tid 2854220848] (70007)The timeout specified has expired: [client 192.168.178.55:63819] Timeout reading the body (URI: /Dokumente/!svn/txr/9-q/Music/myfile.mp3) [408, #0]
[date] [dav:error] [pid 448:tid 2854220848] [client 192.168.178.55:63819] mod_dav_svn close_stream: error closing write stream [500, #185004]
[date] [dav:error] [pid 448:tid 2854220848] [client 192.168.178.55:63819] Unexpected end of svndiff input [500, #185004]
I assume it is some error like this: http://subversion.apache.org/faq.html#s … -truncated
I think I don't have specified the timeouts correctly, since I haven't found the default option.
tl:dr
Do you know how to set the timeouts in the apache configuration file?
I very much appreciate your help.
arch on pi
Here are my configuration Files with my position for the timeout order:
httpd-ssl.conf:
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailed information about these
# directives see <URL:http://httpd.apache.org/docs/2.4/mod/mod_ssl.html>
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
# Required modules: mod_log_config, mod_setenvif, mod_ssl,
# socache_shmcb_module (for default value of SSLSessionCache)
# Pseudo Random Number Generator (PRNG):
# Configure one or more sources to seed the PRNG of the SSL library.
# The seed data should be of good random quality.
# WARNING! On some platforms /dev/random blocks if not enough entropy
# is available. This means you then cannot use the /dev/random device
# because it would lead to very long connection times (as long as
# it requires to make more entropy available). But usually those
# platforms additionally provide a /dev/urandom device which doesn't
# block. So, if available, use this one instead. Read the mod_ssl User
# Manual for more details.
#SSLRandomSeed startup file:/dev/random 512
SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random 512
SSLRandomSeed connect file:/dev/urandom 512
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
Listen 443
## SSL Global Context
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts.
# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
# Speed-optimized SSL Cipher configuration:
# If speed is your main concern (on busy HTTPS servers e.g.),
# you might want to force clients to specific, performance
# optimized ciphers. In this case, prepend those ciphers
# to the SSLCipherSuite list, and enable SSLHonorCipherOrder.
# Caveat: by giving precedence to RC4-SHA and AES128-SHA
# (as in the example below), most connections will no longer
# have perfect forward secrecy - if the server's key is
# compromised, captures of past or future traffic must be
# considered compromised, too.
#SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:MEDIUM:!aNULL:!MD5
#SSLHonorCipherOrder on
# Pass Phrase Dialog:
# Configure the pass phrase gathering process.
# The filtering dialog program (`builtin' is an internal
# terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog builtin
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
#SSLSessionCache "dbm:/run/httpd/ssl_scache"
SSLSessionCache "shmcb:/run/httpd/ssl_scache(512000)"
SSLSessionCacheTimeout 6000
## SSL Virtual Host Context
<VirtualHost _default_:443>
# General setup for the virtual host
DocumentRoot "/mnt/sda1/svn"
ServerName 192.168.178.48:443
ServerAdmin [email protected]
ErrorLog "/var/log/httpd/error_log"
TransferLog "/var/log/httpd/access_log"
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. Keep
# in mind that if you have both an RSA and a DSA certificate you
# can configure both in parallel (to also allow the use of DSA
# ciphers, etc.)
# Some ECC cipher suites (http://www.ietf.org/rfc/rfc4492.txt)
# require an ECC certificate which can also be configured in
# parallel.
SSLCertificateFile "/etc/httpd/conf/server.crt"
#SSLCertificateFile "/etc/httpd/conf/server-dsa.crt"
#SSLCertificateFile "/etc/httpd/conf/server-ecc.crt"
# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
# ECC keys, when in use, can also be configured in parallel
SSLCertificateKeyFile "/etc/httpd/conf/server.key"
#SSLCertificateKeyFile "/etc/httpd/conf/server-dsa.key"
#SSLCertificateKeyFile "/etc/httpd/conf/server-ecc.key"
# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convenience.
#SSLCertificateChainFile "/etc/httpd/conf/server-ca.crt"
# Certificate Authority (CA):
# Set the CA certificate verification path where to find CA
# certificates for client authentication or alternatively one
# huge file containing all of them (file must be PEM encoded)
# Note: Inside SSLCACertificatePath you need hash symlinks
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
#SSLCACertificatePath "/etc/httpd/conf/ssl.crt"
#SSLCACertificateFile "/etc/httpd/conf/ssl.crt/ca-bundle.crt"
# Certificate Revocation Lists (CRL):
# Set the CA revocation path where to find CA CRLs for client
# authentication or alternatively one huge file containing all
# of them (file must be PEM encoded).
# The CRL checking mode needs to be configured explicitly
# through SSLCARevocationCheck (defaults to "none" otherwise).
# Note: Inside SSLCARevocationPath you need hash symlinks
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
#SSLCARevocationPath "/etc/httpd/conf/ssl.crl"
#SSLCARevocationFile "/etc/httpd/conf/ssl.crl/ca-bundle.crl"
#SSLCARevocationCheck chain
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
#SSLVerifyClient require
#SSLVerifyDepth 10
# TLS-SRP mutual authentication:
# Enable TLS-SRP and set the path to the OpenSSL SRP verifier
# file (containing login information for SRP user accounts).
# Requires OpenSSL 1.0.1 or newer. See the mod_ssl FAQ for
# detailed instructions on creating this file. Example:
# "openssl srp -srpvfile /etc/httpd/conf/passwd.srpv -add username"
#SSLSRPVerifierFile "/etc/httpd/conf/passwd.srpv"
# Access Control:
# With SSLRequire you can do per-directory access control based
# on arbitrary complex boolean expressions containing server
# variable checks and other lookup directives. The syntax is a
# mixture between C and Perl. See the mod_ssl documentation
# for more details.
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>
# SSL Engine Options:
# Set various options for the SSL engine.
# o FakeBasicAuth:
# Translate the client X.509 into a Basic Authorisation. This means that
# the standard Auth/DBMAuth methods can be used for access control. The
# user name is the `one line' version of the client's X.509 certificate.
# Note that no password is obtained from the user. Every entry in the user
# file needs this password: `xxj31ZMTZzkVA'.
# o ExportCertData:
# This exports two additional environment variables: SSL_CLIENT_CERT and
# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
# server (always existing) and the client (only existing when client
# authentication is used). This can be used to import the certificates
# into CGI scripts.
# o StdEnvVars:
# This exports the standard SSL/TLS related `SSL_*' environment variables.
# Per default this exportation is switched off for performance reasons,
# because the extraction step is an expensive operation and is usually
# useless for serving static content. So one usually enables the
# exportation for CGI and SSI requests only.
# o StrictRequire:
# This denies access when "SSLRequireSSL" or "SSLRequire" applied even
# under a "Satisfy any" situation, i.e. when it applies access is denied
# and no other module can change it.
# o OptRenegotiate:
# This enables optimized SSL connection renegotiation handling when SSL
# directives are used in per-directory context.
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/srv/http/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
# SSL Protocol Adjustments:
# The safe and default but still SSL/TLS standard compliant shutdown
# approach is that mod_ssl sends the close notify alert but doesn't wait for
# the close notify alert from client. When you need a different shutdown
# approach you can use one of the following variables:
# o ssl-unclean-shutdown:
# This forces an unclean shutdown when the connection is closed, i.e. no
# SSL close notify alert is sent or allowed to be received. This violates
# the SSL/TLS standard but is needed for some brain-dead browsers. Use
# this when you receive I/O errors because of the standard approach where
# mod_ssl sends the close notify alert.
# o ssl-accurate-shutdown:
# This forces an accurate shutdown when the connection is closed, i.e. a
# SSL close notify alert is send and mod_ssl waits for the close notify
# alert of the client. This is 100% SSL/TLS standard compliant, but in
# practice often causes hanging connections with brain-dead browsers. Use
# this only for browsers where you know that their SSL implementation
# works correctly.
# Notice: Most problems of broken clients are also related to the HTTP
# keep-alive facility, so you usually additionally want to disable
# keep-alive for those clients, too. Use variable "nokeepalive" for this.
# Similarly, one has to force some clients to use HTTP/1.0 to workaround
# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
# "force-response-1.0" for this.
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog "/var/log/httpd/ssl_request_log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
#SSLSessionTimeout 5m
Timeout 600000
<Location />
DAV svn
SVNParentPath /mnt/sda1/svn/repos
AuthzSVNAccessFile /home/svn/.svn-policy-file
AuthName "SVN Repositories"
AuthType Basic
AuthUserFile /home/svn/.svn-auth-file
# Satisfy Any
Require valid-user
</Location>
</VirtualHost>
httpd.conf
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
ServerRoot "/etc/httpd"
Timeout 60000
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
# Mutex default:/run/httpd
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80
Listen 80
# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#nach fehlermeldung
LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule allowmethods_module modules/mod_allowmethods.so
#LoadModule file_cache_module modules/mod_file_cache.so
#Felhermeldung undefined symbols
LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#nach Fehlermeldung
LoadModule cache_socache_module modules/mod_cache_socache.so
#nochne Fehlermeldung
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule macro_module modules/mod_macro.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule dumpio_module modules/mod_dumpio.so
#LoadModule echo_module modules/mod_echo.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule data_module modules/mod_data.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule request_module modules/mod_request.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule deflate_module modules/mod_deflate.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule mime_module modules/mod_mime.so
#LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule logio_module modules/mod_logio.so
#LoadModule lua_module modules/mod_lua.so
LoadModule env_module modules/mod_env.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
#LoadModule remoteip_module modules/mod_remoteip.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#Fuer die cipher suite
LoadModule ssl_module modules/mod_ssl.so
#LoadModule dialup_module modules/mod_dialup.so
LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule unixd_module modules/mod_unixd.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#1 for svn
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule info_module modules/mod_info.so
#LoadModule suexec_module modules/mod_suexec.so
#LoadModule cgid_module modules/mod_cgid.so
#LoadModule cgi_module modules/mod_cgi.so
#2 for svn
LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule actions_module modules/mod_actions.so
#LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
#LoadModule rewrite_module modules/mod_rewrite.so
#3 for svn
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<IfModule unixd_module>
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User http
Group http
</IfModule>
# 'Main' server configuration
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
ServerAdmin [email protected]
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address here.
#ServerName www.example.com:80
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
<Directory />
AllowOverride none
Require all denied
</Directory>
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "/mnt/sda1"
#<Directory "/mnt/sda1/svn/repos">
# # Possible values for the Options directive are "None", "All",
# # or any combination of:
# # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# # Note that "MultiViews" must be named *explicitly* --- "Options All"#
# # doesn't give it to you.
# # The Options directive is both complicated and important. Please see
# # http://httpd.apache.org/docs/2.4/mod/core.html#options
# # for more information.#
# Options Indexes FollowSymLinks
# # AllowOverride controls what directives may be placed in .htaccess files.
# # It can be "All", "None", or any combination of the keywords:
# # AllowOverride FileInfo AuthConfig Limit
# AllowOverride None
# # Controls who can get stuff from this server.
# Require all granted
#</Directory>
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<Files ".ht*">
Require all denied
</Files>
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog "/var/log/httpd/error_log"
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
<IfModule log_config_module>
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
CustomLog "/var/log/httpd/access_log" common
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog "/var/log/httpd/access_log" combined
</IfModule>
<IfModule alias_module>
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
</IfModule>
<IfModule cgid_module>
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#Scriptsock cgisock
</IfModule>
# "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "/srv/http/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig conf/mime.types
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#AddType application/x-gzip .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):
#AddHandler type-map var
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#MIMEMagicFile conf/magic
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#EnableMMAP off
#EnableSendfile on
# Supplemental configuration
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
# Secure (SSL/TLS) connections
Include /etc/httpd/conf/extra/httpd-ssl.conf
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
# uncomment out the below to deal with user agents that deliberately
# violate open standards by misusing DNT (DNT *must* be a specific
# end-user choice)
#<IfModule setenvif_module>
#BrowserMatch "MSIE 10.0;" bad_DNT
#</IfModule>
#<IfModule headers_module>
#RequestHeader unset DNT env=bad_DNT
#</IfModule>
Edit: inserted tl;dr
Last edited by arch_on_pi (2014-05-18 21:33:24)Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Right problem with apache and tomcat
Bonjour;
I use a user login "apache" to stop/start Apache and tomcat. Because never launching apache et tomcat as root.
But I have the following problem with apache (file error.log) :
[Tue May 6 17:26:22 2003] [error] Connection "warpConnection" cannot connect
[Tue May 6 17:26:22 2003] [error] Cannot open connection "warpConnection"
[Tue May 6 17:27:01 2003] [error] Re-Trying to deploy connections
As root the error msg does'nt exists (lost)
Best regards;
A+;Run it from the shell to see whats wrong:
# httpd -
Error in communicating with Group Administration Server
Hello everyone, i am requesting your help for an issue with LMS 4.2.5
When i browse to Admin-> Group Management -> Fault.
I get the following:
OGS Server Error
Error
Error in communicating with Group Administration Server.
It may be down or not yet up. Please make sure that the Group Administration Server is up and running, then refresh the page.
here is the pdshow output
pdshow
Process= ESS
State = Program started - No mgt msgs received
Pid = 5536
RC = 0
Signo = 0
Start = 10/31/14 14:13:21
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EssMonitor
State = Running normally
Pid = 5567
RC = 0
Signo = 0
Start = 10/31/14 14:13:25
Stop = Not applicable
Core = Not applicable
Info = ESS is fully up now !
Process= EventFramework
State = Program started - No mgt msgs received
Pid = 5584
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= SyslogCollector
State = Running normally
Pid = 5585
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = SyslogCollector Started at Fri Oct 31 14:13:28 CST 2014
Process= RMEDbEngine
State = Program started - No mgt msgs received
Pid = 5586
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHDbEngine
State = Program started - No mgt msgs received
Pid = 5663
RC = 0
Signo = 0
Start = 10/31/14 14:13:30
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMDbEngine
State = Program started - No mgt msgs received
Pid = 5696
RC = 0
Signo = 0
Start = 10/31/14 14:13:34
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMServer
State = Running normally
Pid = 5729
RC = 0
Signo = 0
Start = 10/31/14 14:13:38
Stop = Not applicable
Core = Not applicable
Info = EPMServer is up and running
Process= AdapterServer
State = Program started - No mgt msgs received
Pid = 5748
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= AdapterServer1
State = Program started - No mgt msgs received
Pid = 5749
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHServer
State = Running normally
Pid = 5750
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = FHServer started.
Process= INVDbEngine
State = Program started - No mgt msgs received
Pid = 5751
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= PMServer
State = Running normally
Pid = 5936
RC = 0
Signo = 0
Start = 10/31/14 14:13:46
Stop = Not applicable
Core = Not applicable
Info = PMServer is up and running
Process= IpmDbEngine
State = Program started - No mgt msgs received
Pid = 5960
RC = 0
Signo = 0
Start = 10/31/14 14:13:50
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbEngine
State = Program started - No mgt msgs received
Pid = 5993
RC = 0
Signo = 0
Start = 10/31/14 14:13:54
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbMonitor
State = Running normally
Pid = 6026
RC = 0
Signo = 0
Start = 10/31/14 14:13:58
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= ANIDbEngine
State = Program started - No mgt msgs received
Pid = 6027
RC = 0
Signo = 0
Start = 10/31/14 14:13:59
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= MACUHIC
State = Running normally
Pid = 6055
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= UTLITE
State = Running normally
Pid = 6056
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= FDRewinder
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= CmfDbEngine
State = Program started - No mgt msgs received
Pid = 6057
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CmfDbMonitor
State = Running normally
Pid = 6183
RC = 0
Signo = 0
Start = 10/31/14 14:14:08
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= DfmBroker
State = Running normally
Pid = 6190
RC = 0
Signo = 0
Start = 10/31/14 14:14:09
Stop = Not applicable
Core = Not applicable
Info = DfmBroker is running normally
Process= DfmServer
State = Running normally
Pid = 6322
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer initialized OK.
Process= DfmServer1
State = Running normally
Pid = 6323
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer1 initialized OK.
Process= DFMLogServer
State = Program started - No mgt msgs received
Pid = 6324
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMCTMStartup
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 11:55:05
Stop = 11/03/14 11:55:05
Core = Not applicable
Info = Application started by administrator request.
Process= FHPurgeTask
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 00:00:00
Stop = 11/03/14 00:00:44
Core = Not applicable
Info = DPS Task FHPurgeTask completed at Mon Nov 03 00:00:44 CST 2014. For status check Job Browser UI.
Process= DFMMultiProcLogger
State = Program started - No mgt msgs received
Pid = 6327
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CSDiscovery
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= DCRDevicePoll
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 09:15:02
Stop = 11/03/14 09:15:50
Core = Not applicable
Info = Application started by administrator request.
Process= CSRegistryServer
State = Running normally
Pid = 6328
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = CSRegistryServer is running
Process= Tomcat
State = Program started - No mgt msgs received
Pid = 6330
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TomcatMonitor
State = Running normally
Pid = 6670
RC = 0
Signo = 0
Start = 10/31/14 14:14:17
Stop = Not applicable
Core = Not applicable
Info = Tomcat Server up
Process= Apache
State = Running normally
Pid = 7183
RC = 0
Signo = 0
Start = 10/31/14 14:16:02
Stop = Not applicable
Core = Not applicable
Info = Web Server initialized ok.
Process= DCRServer
State = Running normally
Pid = 7204
RC = 0
Signo = 0
Start = 10/31/14 14:16:06
Stop = Not applicable
Core = Not applicable
Info = DCRServer is up and running
Process= CMFOGSServer
State = Program started - No mgt msgs received
Pid = 7257
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TISServer
State = Program started - No mgt msgs received
Pid = 7258
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMOGSServer
State = Program started - No mgt msgs received
Pid = 7323
RC = 0
Signo = 0
Start = 10/31/14 14:16:16
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NOSServer
State = Running normally
Pid = 7375
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = NOSServer is up and running
Process= PTMServer
State = Running normally
Pid = 7376
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = Started Successfully
Process= InventoryCollector
State = Running normally
Pid = 7377
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = InventoryCollector is up and running
Process= Interactor
State = Program started - No mgt msgs received
Pid = 7496
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= InventoryCollector1
State = Program started - No mgt msgs received
Pid = 7497
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= Interactor1
State = Program started - No mgt msgs received
Pid = 7589
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMProcess
State = Running normally
Pid = 7590
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = UPMProcess started successfully.
Process= UTManager
State = Running normally
Pid = 7591
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= EssentialsDM
State = Running normally
Pid = 7592
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = RME Device Management started.
Process= ICServer
State = Running normally
Pid = 7730
RC = 0
Signo = 0
Start = 10/31/14 14:16:31
Stop = Not applicable
Core = Not applicable
Info = ICServer started.
Process= EnergyWise
State = Running normally
Pid = 7923
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = EnergyWise Process is running normally Fri Oct 31 14:16:45 CST 2014
Process= PMCOGSServer
State = Program started - No mgt msgs received
Pid = 7924
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= ConfigMgmtServer
State = Running normally
Pid = 7925
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = DCMA is running normally Fri Oct 31 14:17:02 CST 2014
Process= ConfigUtilityService
State = Running normally
Pid = 7926
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = ConfigUtilityService started.
Process= CAAMServer
State = Running normally
Pid = 7927
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = CAAMServer started.
Process= VNMServer
State = Program started - No mgt msgs received
Pid = 7928
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= WlseUHIC
State = Running normally
Pid = 7929
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= IPMOGSServer
State = Program started - No mgt msgs received
Pid = 7940
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TopoServer
State = Program started - No mgt msgs received
Pid = 7941
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= LicenseServer
State = Program started - No mgt msgs received
Pid = 7942
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServer
State = Program started - No mgt msgs received
Pid = 7946
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServiceMonitor
State = Program started - No mgt msgs received
Pid = 8205
RC = 0
Signo = 0
Start = 10/31/14 14:16:39
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EDS
State = Running normally
Pid = 8290
RC = 0
Signo = 0
Start = 10/31/14 14:16:43
Stop = Not applicable
Core = Not applicable
Info = Initialization complete
Process= ANIServer
State = Running with busy flag set
Pid = 8768
RC = 0
Signo = 0
Start = 10/31/14 14:17:14
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
Process= UTMajorAcquisition
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 10:00:00
Stop = 11/03/14 10:14:13
Core = Not applicable
Info = Application started by administrator request.
Process= EDS-GCF
State = Running normally
Pid = 8807
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = GCF Initialization complete at Fri Oct 31 14:17:53 CST 2014
Process= jrm
State = Running normally
Pid = 8808
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DataPurge
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = 10/31/14 14:19:11
Core = Not applicable
Info = DataPurge initialization completed at Fri Oct 31 14:19:11 CST 2014.
Process= IPMProcess
State = Program started - No mgt msgs received
Pid = 9155
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CTMJrmServer
State = Running normally
Pid = 9156
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = CTMJrmServer started.
Process= SyslogAnalyzer
State = Running normally
Pid = 9246
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = SyslogAnalyzerService Started at Fri Oct 31 14:18:35 CST 2014
Process= ChangeAudit
State = Program started - No mgt msgs received
Pid = 9247
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1014
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1965
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1964
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 2360
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3056
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3104
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1001
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3177
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3206
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1015
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1524
State = Program started - No mgt msgs received
Pid = 21804
RC = 0
Signo = 0
Start = 11/02/14 19:00:00
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 3306
State = Program started - No mgt msgs received
Pid = 17433
RC = 0
Signo = 0
Start = 11/03/14 11:37:17
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1005
State = Running normally
Pid = 19289
RC = 0
Signo = 0
Start = 11/03/14 12:00:00
Stop = Not applicable
Core = Not applicable
Info = 1005 started.
Process= diskWatcher
State = Program started - No mgt msgs received
Pid = 9249
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Thanks in advance for your help.
Best regards.Also when i click the alarms bar that is sitting in the bottom right i got these in DFMOGSServer.log
[ Thu Nov 06 15:25:37 CST 2014 ] ERROR com.cisco.nm.xms.ogs.kilner10.KilnerEventConsolidator makeEvent - MAKE CONSOLIDATED_DFMOGS_EVENT: 9 data:
[ Thu Nov 06 15:25:46 CST 2014 ] FATAL com.cisco.nm.xms.ogs.server.OGSServer main - Exception while OGS Server start up: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
com.cisco.nm.xms.ogs.util.OGSException: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
at com.cisco.nm.xms.ogs.server.OGSImpl.publishURN(OGSImpl.java:1396)
at com.cisco.nm.xms.ogs.server.OGSServer.main(OGSServer.java:73)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unreachable Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 9 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unmanaged Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Suspended Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 0 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
Don´t know much about databases, but it seems im missing some important tables or data -
I Need PHP 5.3 no longer avail in a VC6 compatable with Apache 2.2.15
I appologize if this question is already answered somewhere (I did search a bit)..
1. I have written a significant amount of my site using functions only available in PHP 5.3+ (ie not in PHP5.2)
( see php.net /manual/en/migration53.new-features.php )
2. PHP (in thier infinite wisdom) have decicided that not only is there no longer a VC6 (ie Apache 2.2.15 compatable) build of php 5.3.6 but they removed the 5.3.3 build and are offering only 5.2.17 in a VC6 build suitable for use with the version of Apache built into FMS4.
(see windows.php.net/download/ and note the lines:
Do NOT use VC9 version with apache.org binaries.
and
VC9 versions of Apache can be fetched at Apache Lounge. We use their binaries to build the Apache SAPIs.)
3. The FMS4 documentation says:
(see help.adobe.com/en_US/flashmediaserver/configadmin/WSE2A5A7B9-E118-496f-92F9-E295038DB7DB. html#WS02f7d8d4857b1677-469e53bb12984254411-8000
The recommended approach to upgrading the Apache web server is to install or build the Apache server in a directory that is separate from the existing server. Then copy the contents of newly-installed directories to the existing server.
In most cases, you do not replace the existing Apache configuration files with the newer versions of these files. This is because the Apache web server installation for Flash Media Server is pre-configured with specific modules and settings.)
My Question is:
Does this even work? I sounds like a REALY BAD idea to me to instal a version of Apache built to use the Visual C 9 runtime and then kludge in an httpd.conf file that starts loading modules that were built to interact with a version that uses the Visual C 6 library. Has anyone actually done this successfully???
I don't blame the FMS developers here (well except for the really bad idea of making Apache "part" of the FMS package in the first place) but you a shipping with a version of Apache that is incompatable with PHP! (OK, the _latest versions_ of PHP.. but that still makes this _your_ problem.. and a big problem at that if you ask me).
Suggestions?# This section includes everything in the Apache 2.2.19 httpd.conf file's module load section.
# The modules named in the FMS version of the httpd.conf file are _almost_ a subset of the 2.2.19 collection but
# many statements are "live" only in the FMS version.
# The numbers in parentheses are line numbers in the indicated httpd.conf file
# 2.2.19(60) LoadModule actions_module modules/mod_actions.so
# FMS(136)
LoadModule actions_module modules/mod_actions.so
# 2.2.19(61) LoadModule alias_module modules/mod_alias.so
# FMS(137)
LoadModule alias_module modules/mod_alias.so
# 2.2.19(62) LoadModule asis_module modules/mod_asis.so
# FMS(138)
LoadModule asis_module modules/mod_asis.so
# 2.2.19(63) LoadModule auth_basic_module modules/mod_auth_basic.so
# FMS(139)
LoadModule auth_basic_module modules/mod_auth_basic.so
# 2.2.19(64) #LoadModule auth_digest_module modules/mod_auth_digest.so
# FMS(140)
LoadModule auth_digest_module modules/mod_auth_digest.so
# 2.2.19(65) #LoadModule authn_alias_module modules/mod_authn_alias.so
# 2.2.19(66) #LoadModule authn_anon_module modules/mod_authn_anon.so
# FMS(141)
LoadModule authn_anon_module modules/mod_authn_anon.so
# 2.2.19(67) #LoadModule authn_dbd_module modules/mod_authn_dbd.so
# 2.2.19(68) #LoadModule authn_dbm_module modules/mod_authn_dbm.so
# FMS(142) #LoadModule authn_dbm_module modules/mod_authn_dbm.so
# 2.2.19(69) LoadModule authn_default_module modules/mod_authn_default.so
# FMS(143)
LoadModule authn_default_module modules/mod_authn_default.so
# 2.2.19(70) LoadModule authn_file_module modules/mod_authn_file.so
# FMS(144)
LoadModule authn_file_module modules/mod_authn_file.so
# 2.2.19(71) #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
# 2.2.19(72) #LoadModule authz_dbm_module modules/mod_authz_dbm.so
# FMS(145) #LoadModule authz_dbm_module modules/mod_authz_dbm.so
# 2.2.19(73) LoadModule authz_default_module modules/mod_authz_default.so
# FMS(146)
LoadModule authz_default_module modules/mod_authz_default.so
# 2.2.19(74) LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
# FMS(147)
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
# 2.2.19(75) LoadModule authz_host_module modules/mod_authz_host.so
# FMS(148)
LoadModule authz_host_module modules/mod_authz_host.so
# 2.2.19(76) #LoadModule authz_owner_module modules/mod_authz_owner.so
# 2.2.19(77) LoadModule authz_user_module modules/mod_authz_user.so
# FMS(149)
LoadModule authz_user_module modules/mod_authz_user.so
# 2.2.19(78) LoadModule autoindex_module modules/mod_autoindex.so
# FMS(150)
LoadModule autoindex_module modules/mod_autoindex.so
# 2.2.19(79) #LoadModule cache_module modules/mod_cache.so
# 2.2.19(80) #LoadModule cern_meta_module modules/mod_cern_meta.so
# FMS(151) #LoadModule cern_meta_module modules/mod_cern_meta.so
# 2.2.19(81) LoadModule cgi_module modules/mod_cgi.so
# FMS(152..154)
<IfModule mpm_winnt_module>
LoadModule cgi_module modules/mod_cgi.so
</IfModule>
# FMS(155..157)
<IfModule worker_module>
LoadModule cgid_module modules/mod_cgid.so
</IfModule>
# 2.2.19(82) #LoadModule charset_lite_module modules/mod_charset_lite.so
# 2.2.19(83) #LoadModule dav_module modules/mod_dav.so
# FMS(158)
LoadModule dav_module modules/mod_dav.so
# 2.2.19(84) #LoadModule dav_fs_module modules/mod_dav_fs.so
# FMS(159)
LoadModule dav_fs_module modules/mod_dav_fs.so
# 2.2.19(85) #LoadModule dav_lock_module modules/mod_dav_lock.so
# 2.2.19(86) #LoadModule dbd_module modules/mod_dbd.so
# 2.2.19(87) #LoadModule deflate_module modules/mod_deflate.so
# FMS(160)
LoadModule deflate_module modules/mod_deflate.so
# 2.2.19(88) LoadModule dir_module modules/mod_dir.so
# FMS(161)
LoadModule dir_module modules/mod_dir.so
# 2.2.19(89) #LoadModule disk_cache_module modules/mod_disk_cache.so
# 2.2.19(90) #LoadModule dumpio_module modules/mod_dumpio.so
# 2.2.19(91) LoadModule env_module modules/mod_env.so
# FMS(162)
LoadModule env_module modules/mod_env.so
# 2.2.19(92) #LoadModule expires_module modules/mod_expires.so
# FMS(163) #LoadModule expires_module modules/mod_expires.so
# 2.2.19(93) #LoadModule ext_filter_module modules/mod_ext_filter.so
# 2.2.19(94) #LoadModule file_cache_module modules/mod_file_cache.so
# FMS(164) #LoadModule file_cache_module modules/mod_file_cache.so
# 2.2.19(95) #LoadModule filter_module modules/mod_filter.so
# 2.2.19(96) #LoadModule headers_module modules/mod_headers.so
# FMS(165) #LoadModule headers_module modules/mod_headers.so
# 2.2.19(97) #LoadModule ident_module modules/mod_ident.so
# 2.2.19(98) #LoadModule imagemap_module modules/mod_imagemap.so
# FMS(166)
LoadModule imagemap_module modules/mod_imagemap.so
# 2.2.19(99) LoadModule include_module modules/mod_include.so
# FMS(167)
LoadModule include_module modules/mod_include.so
# 2.2.19(100) #LoadModule info_module modules/mod_info.so
# FMS(168)
LoadModule info_module modules/mod_info.so
# 2.2.19(101) LoadModule isapi_module modules/mod_isapi.so
# FMS(169..171)
<IfModule mpm_winnt_module>
LoadModule isapi_module modules/mod_isapi.so
</IfModule>
# 2.2.19(102) #LoadModule ldap_module modules/mod_ldap.so
# 2.2.19(103) #LoadModule logio_module modules/mod_logio.so
# 2.2.19(104) LoadModule log_config_module modules/mod_log_config.so
# FMS(172)
LoadModule log_config_module modules/mod_log_config.so
# 2.2.19(105) #LoadModule log_forensic_module modules/mod_log_forensic.so
# 2.2.19(106) #LoadModule mem_cache_module modules/mod_mem_cache.so
# 2.2.19(107) LoadModule mime_module modules/mod_mime.so
# FMS(173)
LoadModule mime_module modules/mod_mime.so
# 2.2.19(108) #LoadModule mime_magic_module modules/mod_mime_magic.so
# FMS(174)
LoadModule mime_magic_module modules/mod_mime_magic.so
# 2.2.19(109) LoadModule negotiation_module modules/mod_negotiation.so
# FMS(181)
LoadModule negotiation_module modules/mod_negotiation.so
# 2.2.19(110) #LoadModule proxy_module modules/mod_proxy.so
# FMS(175) #LoadModule proxy_module modules/mod_proxy.so
# 2.2.19(111) #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
# FMS(176) #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
# 2.2.19(112) #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
# FMS(177) #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
# 2.2.19(113) #LoadModule proxy_connect_module modules/mod_proxy_connect.so
# FMS(178) #LoadModule proxy_connect_module modules/mod_proxy_connect.so
# 2.2.19(114) #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
# FMS(180) #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
# 2.2.19(115) #LoadModule proxy_http_module modules/mod_proxy_http.so
# FMS(179) #LoadModule proxy_http_module modules/mod_proxy_http.so
# 2.2.19(116) #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
# 2.2.19(117) #LoadModule reqtimeout_module modules/mod_reqtimeout.so
# 2.2.19(118) #LoadModule rewrite_module modules/mod_rewrite.so
# FMS(182)
LoadModule rewrite_module modules/mod_rewrite.so
# 2.2.19(119) LoadModule setenvif_module modules/mod_setenvif.so
# FMS(183)
LoadModule setenvif_module modules/mod_setenvif.so
# 2.2.19(120) #LoadModule speling_module modules/mod_speling.so
# FMS(184) #LoadModule speling_module modules/mod_speling.so
# 2.2.19(121) #LoadModule ssl_module modules/mod_ssl.so
# FMS(190) #LoadModule ssl_module modules/mod_ssl.so
# 2.2.19(122) #LoadModule status_module modules/mod_status.so
# FMS(185)
LoadModule status_module modules/mod_status.so
# 2.2.19(123) #LoadModule substitute_module modules/mod_substitute.so
# 2.2.19(124) #LoadModule unique_id_module modules/mod_unique_id.so
# FMS(186)
LoadModule unique_id_module modules/mod_unique_id.so
# 2.2.19(125) #LoadModule userdir_module modules/mod_userdir.so
# FMS(187)
LoadModule userdir_module modules/mod_userdir.so
# 2.2.19(126) #LoadModule usertrack_module modules/mod_usertrack.so
# FMS(188) #LoadModule usertrack_module modules/mod_usertrack.so
# 2.2.19(127) #LoadModule version_module modules/mod_version.so
# 2.2.19(128) #LoadModule vhost_alias_module modules/mod_vhost_alias.so
# FMS(189) #LoadModule vhost_alias_module modules/mod_vhost_alias.so
# FMS(191)
LoadModule f4fhttp_module modules/mod_f4fhttp.so
# This section includes items that appear in _BOTH_ in the FMS version of httpd.conf and the 2.2.19 version
# The numbers in parentheses are line numbers in the indicated httpd.conf file.
# In some case the lines appear identically in both versions.
# In some case the changes are not simple alternatives (see mpm_winnt_module for example)
# 2.2.19(46)
# Listen 80
# FMS(12)
Listen 8134
# 2.2.19(130..144)
# <IfModule !mpm_netware_module>
# <IfModule !mpm_winnt_module>
# User daemon
# Group daemon
# </IfModule>
# </IfModule>
# FMS(123..126)
<IfModule mpm_winnt_module>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
# 2.2.19(179)
# DocumentRoot "c:/Apache2/htdocs"
# FMS(39)
DocumentRoot "../webroot"
# 2.2.19(189..194)
# <Directory />
# Options FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
# </Directory>
# FMS(43..50)
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Satisfy all
</Directory>
# 2.2.19(206..234)
# <Directory "c:/Apache2/htdocs">
# Options Indexes FollowSymLinks
# AllowOverride None
# Order allow,deny
# Allow from all
# </Directory>
# FMS(51..56)
<Directory "../webroot">
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# 2.2.19(240.242)
# <IfModule dir_module>
# DirectoryIndex index.html
# </IfModule>
# FMS(41)
DirectoryIndex index.html index.html.var index.php index.php3 index.php4 index.php5 index.py index.pl index.rb
# 2.2.19(248..252)
# <FilesMatch "^\.ht">
# Order allow,deny
# Deny from all
# Satisfy All
# </FilesMatch>
# FMS(118..121)
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
# 2.2.19(261)
# ErrorLog "logs/error.log"
# FMS(34)
ErrorLog logs/error_log
# 2.2.19(268)
# LogLevel warn
# FMS(35)
LogLevel info
# 2.2.19(270..297)
# <IfModule log_config_module>
# LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
# LogFormat "%h %l %u %t \"%r\" %>s %b" common
# <IfModule logio_module>
# LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
# </IfModule>
# CustomLog "logs/access.log" common
# </IfModule>
# FMS(36..37)
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog logs/access_log combined
# 2.2.19(299..328)
# <IfModule alias_module>
# ScriptAlias /cgi-bin/ "c:/Apache2/cgi-bin/"
# </IfModule>
# FMS(77)
ScriptAlias /cgi-bin/ "cgi-bin/"
# 2.2.19(342..347)
# <Directory "c:/Apache2/cgi-bin">
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all
# </Directory>
# FMS(78..83)
<Directory "cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
# 2.2.19(358)
# DefaultType text/plain
# FMS(196)
DefaultType text/plain
# 2.2.19(360..406)
# <IfModule mime_module>
# TypesConfig conf/mime.types
# #AddEncoding x-compress .Z
# #AddEncoding x-gzip .gz .tgz
# AddType application/x-compress .Z
# AddType application/x-gzip .gz .tgz
# #AddHandler cgi-script .cgi
# #AddHandler type-map var
# #AddType text/html .shtml
# #AddOutputFilter INCLUDES .shtml
# </IfModule>
# FMS(194)
TypesConfig conf/mime.types
# FMS(200..201)
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# FMS(204..206)
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
# 2.2.19(413)
#MIMEMagicFile conf/magic
# FMS(195)
MIMEMagicFile conf/magic
# 2.2.19(474..484)
# <IfModule ssl_module>
# SSLRandomSeed startup builtin
# SSLRandomSeed connect builtin
# </IfModule>
# FMS(208.211)
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule> -
Java.sql.SQLException: Error accessing jdbc driver
Hi,
We are using WebLogic Server 7.0 as Application Server.
We now create a connection pool named regPool and
a Tx datasource named regDS.
When we get the connection from the datasource, exception occurred.
java.sql.SQLException: Error accessing jdbc driver: driverURL =
jdbc:weblogic:pool:regPool, props = {enableTwoPhaseCommit=false,
jdbcTxDataSource=true, connectionPoolID=regPool}
at
weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:323)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:377)
at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
:265)
So I guess that why we can't use CMP for finding data. Here is the error when we call the finder.
javax.ejb.FinderException: Exception in findAllEmr while preparing or
executing statement: 'null'
java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
Exception = Access not allowed
java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
Exception = Access not allowed
at
weblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:694)
According to the exception message, it looks
like the connection fail between WLS and Oracle 9.2.
Here is a scenario I think you should need to know.
I change the table-name in the weblogic-cmp-rdbms-jar.xml
to a name that doesn't exist in the database.
Then, re-package the EJB, copy it to server and restart the server.
A exception occurred that says the table doesn't exist.
So, in this case, it looks like the datasource works and
connection is fine.
Any recommendation will be appreciated.
Jimmy ChangHi!
I am a default user to the databse server. I connect to the database with '\' as the username and blank passoword(I mean with Network authentication may be).When I am trying to create connection using
con = DriverManager.getConnection("jdbc:oracle:thin:@DRACINAL2:BSAJ", "/","" )
it gives me followint error
ava.sql.SQLException: Null user or password not supported in THIN driver
void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
void oracle.jdbc.dbaccess.DBError.check_error(int)
oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void textPack.GenTextFile.main(java.lang.String[])
How should I go about it?
Thanks for your help.
-Sreekanth Varidhireddy -
"Error establishing socket" error on JDBC Receiver Channel.
Dear All,
Scenario: Soap to JDBC.
I m getting error on JDBC Receiver Channel. messages are processed succesfully on ABAP Stack and receiver channel is on below error:
ERROR : Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://156.5.202.194:3312;DatabaseName=ODW': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
Note: i already tested another interface with this same IP and it was fine with different port.
jdbc:microsoft:sqlserver://IP:PORT;DatabaseName=Name
Regards,
Manikandanand it was fine with different port
socket exception is (always) related to port....did you check with the network team about this new Port? -
Installing Discoverer 4i with Apache
Hi,
Is it possible to install Discoverer 4i with Apache webserver and Jserv as servlet engine? I had been trying it for a couple of times and I fail with oadutil giving me the error message ".exe should be in the path". WHich exe is it referrring to?
I am trying to install 4i on a Win 2K professional machine with:
1. Oracle 8i.
Issue - Since Discoverer wouldnt install in the same directory as 8i, I installed Discovere 4i plus and Discoverer administrator into c:\Oracle as DEFAULT_HOME. I then installed 8i, and 8i wont install in DEFAULT_HOME, hence I installed 8i in c:\Oracle\Ora81 and named it ORACLE_HOME.
2. I installed Apache 1.2 as web server and installed JServ as Servlet engine.
3. I loaded all the client files into home folder.
Please advice.
Thank you in advance.I got this error when running on win2k. I dont know about 4i, but the documentation for 3i says that it is supported on NT, not 2k. When we loaded NT, this error went away and all has been smooth since.
-matt
null -
Problems with apache.torque.Torque
Ok I am working on this project with three other developers. I configured my project and jar files to mimic theres EXACTLY. Yet i am getting this funky error. I am using com.evermind.server.OC4JServer to run the application on my local machine. When i run the application I get this error in my log files:
2007-06-14 09:18:18,246 [Orion Launcher] CRIT grnds.syslog - SecureFileAccess Error: No Such Algorithm
2007-06-14 09:18:18,246 [Orion Launcher] ERROR grnds.syslog - org.apache.torque.Torque could not be configured with file '{org.govgrnds.security.DESFileAccess}{C:/ereassign/prod/config/keyfile}C:/ereassign/prod/config/Torque.properties'.
java.io.FileNotFoundException: Could not open Resource {org.govgrnds.security.DESFileAccess}{C:/ereassign/prod/config/keyfile}C:/ereassign/prod/config/Torque.properties
at org.govgrnds.facility.config.ClassPropertiesConfiguration.getPropertyStream(ClassPropertiesConfiguration.java:232)
at org.govgrnds.facility.config.ClassPropertiesConfiguration.<init>(ClassPropertiesConfiguration.java:107)
at org.govgrnds.facility.config.ClassPropertiesConfiguration.<init>(ClassPropertiesConfiguration.java:124)
at org.govgrnds.facility.GovGRNDSComponentLoader.loadComponent(GovGRNDSComponentLoader.java:205)
at org.govgrnds.facility.GovGRNDSComponentLoader.load(GovGRNDSComponentLoader.java:170)
at org.govgrnds.facility.GovGRNDSComponentService.init(GovGRNDSComponentService.java:149)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:149)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:224)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:193)
at org.apache.turbine.Turbine.init(Turbine.java:257)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
at org.govgrnds.facility.CommonFacilityBootstrap.execute(CommonFacilityBootstrap.java:359)
at org.govgrnds.web.BootstrapServlet.doBootstrapFacilities(BootstrapServlet.java:199)
at org.govgrnds.web.BootstrapServlet.init(BootstrapServlet.java:135)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:545)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
2007-06-14 09:18:18,308 [Orion Launcher] CRIT grnds.syslog - Error getting Code from database!
java.lang.NullPointerException: There was no DataSourceFactory configured for the connection default
at org.apache.torque.Torque.getConnection(Torque.java:938)
at org.apache.torque.util.BasePeer.doPSSelect(BasePeer.java:2177)
at gov.usps.ereassign.objectmodel.BaseCodePeer.doPSSelectVillageRecords(BaseCodePeer.java:431)
at gov.usps.ereassign.objectmodel.BaseCodePeer.doPSSelectVillageRecords(BaseCodePeer.java:404)
at gov.usps.ereassign.objectmodel.BaseCodePeer.doPSSelect(BaseCodePeer.java:318)
at gov.usps.cache.CodesCacheService.refresh(CodesCacheService.java:194)
at org.govgrnds.cache.RefreshableGlobalCacheService.initCache(RefreshableGlobalCacheService.java:531)
at org.govgrnds.cache.RefreshableGlobalCacheService.init(RefreshableGlobalCacheService.java:387)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:149)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:224)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:193)
at org.apache.turbine.Turbine.init(Turbine.java:257)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
at org.govgrnds.facility.CommonFacilityBootstrap.execute(CommonFacilityBootstrap.java:359)
at org.govgrnds.web.BootstrapServlet.doBootstrapFacilities(BootstrapServlet.java:199)
at org.govgrnds.web.BootstrapServlet.init(BootstrapServlet.java:135)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:545)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
2007-06-14 09:18:18,308 [Orion Launcher] CRIT grnds.syslog - Cache failed to initialize during refresh
java.lang.Exception: Error getting Code from database!
at gov.usps.cache.CodesCacheService.refresh(CodesCacheService.java:200)
at org.govgrnds.cache.RefreshableGlobalCacheService.initCache(RefreshableGlobalCacheService.java:531)
at org.govgrnds.cache.RefreshableGlobalCacheService.init(RefreshableGlobalCacheService.java:387)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:149)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:224)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:193)
at org.apache.turbine.Turbine.init(Turbine.java:257)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
at org.govgrnds.facility.CommonFacilityBootstrap.execute(CommonFacilityBootstrap.java:359)
at org.govgrnds.web.BootstrapServlet.doBootstrapFacilities(BootstrapServlet.java:199)
at org.govgrnds.web.BootstrapServlet.init(BootstrapServlet.java:135)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:545)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
2007-06-14 09:18:18,324 [Orion Launcher] CRIT grnds.syslog - Error getting DisplayMessage from database!
java.lang.NullPointerException: There was no DataSourceFactory configured for the connection default
at org.apache.torque.Torque.getConnection(Torque.java:938)
at org.apache.torque.util.BasePeer.doPSSelect(BasePeer.java:2177)
at gov.usps.ereassign.objectmodel.BaseDisplayMessagePeer.doPSSelectVillageRecords(BaseDisplayMessagePeer.java:471)
at gov.usps.ereassign.objectmodel.BaseDisplayMessagePeer.doPSSelectVillageRecords(BaseDisplayMessagePeer.java:443)
at gov.usps.ereassign.objectmodel.BaseDisplayMessagePeer.doPSSelect(BaseDisplayMessagePeer.java:351)
at gov.usps.cache.DisplayMessageCacheService.refresh(DisplayMessageCacheService.java:138)
at org.govgrnds.cache.RefreshableGlobalCacheService.initCache(RefreshableGlobalCacheService.java:531)
at org.govgrnds.cache.RefreshableGlobalCacheService.init(RefreshableGlobalCacheService.java:387)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:149)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:224)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:193)
at org.apache.turbine.Turbine.init(Turbine.java:257)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
at org.govgrnds.facility.CommonFacilityBootstrap.execute(CommonFacilityBootstrap.java:359)
at org.govgrnds.web.BootstrapServlet.doBootstrapFacilities(BootstrapServlet.java:199)
at org.govgrnds.web.BootstrapServlet.init(BootstrapServlet.java:135)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:545)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
2007-06-14 09:18:18,355 [Orion Launcher] CRIT grnds.syslog - Error getting DisplayMessage from database!
java.lang.NullPointerException: There was no DataSourceFactory configured for the connection default
at org.apache.torque.Torque.getConnection(Torque.java:938)
at org.apache.torque.util.BasePeer.doPSSelect(BasePeer.java:2177)
at gov.usps.ereassign.objectmodel.BaseSystemSettingPeer.doPSSelectVillageRecords(BaseSystemSettingPeer.java:430)
at gov.usps.ereassign.objectmodel.BaseSystemSettingPeer.doPSSelectVillageRecords(BaseSystemSettingPeer.java:403)
at gov.usps.ereassign.objectmodel.BaseSystemSettingPeer.doPSSelect(BaseSystemSettingPeer.java:317)
at gov.usps.cache.SystemSettingCacheService.refresh(SystemSettingCacheService.java:132)
at org.govgrnds.cache.RefreshableGlobalCacheService.initCache(RefreshableGlobalCacheService.java:531)
at org.govgrnds.cache.RefreshableGlobalCacheService.init(RefreshableGlobalCacheService.java:387)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:149)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:224)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:193)
at org.apache.turbine.Turbine.init(Turbine.java:257)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
at org.govgrnds.facility.CommonFacilityBootstrap.execute(CommonFacilityBootstrap.java:359)
at org.govgrnds.web.BootstrapServlet.doBootstrapFacilities(BootstrapServlet.java:199)
at org.govgrnds.web.BootstrapServlet.init(BootstrapServlet.java:135)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:545)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
2007-06-14 09:18:33,886 [HttpRequestHandler-8814537] ERROR grnds.syslog - javax.servlet.ServletException: error while including template: Connection object was null. This could be due to a misconfiguration of the DataSourceFactory. Check the logs and Torque.properties to better determine the cause.
at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
at login.welcomeAdminStart._jspService(_welcomeAdminStart.java:113)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at org.grnds.structural.ic.struts.Struts10ErrorHandlingServlet.doGet(Struts10ErrorHandlingServlet.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at gov.usps.filter.EreassignServletFilter.doFilter(EreassignServletFilter.java:177)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)Thank you very much BIJ001!! It works!!
However i don't understand the reason you've given me. You've said:
"The last time I programmed a servlet (as opposed to, say, a JSP) I programmed it in Java, thus no "linea" like your example was possible there."
Why not? I use the "response.getWriter()" method to get a printWriter and then i create the html code for the servlet.
Anyway, thanks again because i would never have solved it without your help.
Regards,
Aitor -
Problems with Apache and custom JSPs
Hi
We've made an application on top of IFS, using JWS in our test envirnment. Just before making some stress tests, I'd like to try it using Apache. We're currently having two problems:
1) I switch to the apache configuration running ifsconfig and not selecting JWS. When I try to access the ifs using http://host/ifs/files, everything goes well except that the "logout" icon doesn't appear. I did a little research and found out that the link goes to /ifs/webui/images/logout.gif. This gives an error in mod_jserv.log, like this one:
[07/06/2001 22:54:20:315] (ERROR) ajp12: Servlet Error: ClassNotFoundException: webui
It seems it's trying to find a "webui" class, since in ifs.properties every url that begins with /ifs goes to jserv.
I don't know if this is a know problem or what should I've check...
2) This one is more important. We're using some custom JSPs, which we use to edit the properties of some types of documents. Basically, when the user clicks over a file one of our JSP appears. These JSPs call a bean to do some processing, passing the HttpRequest as a parameter. The problem is that when using JWS we get the "path" request variable like in path=/%3A29464
However, when using Apache we get path=/ifs/files/%3A29464 ( and afterwards we get an exception because the ifsSession.getPublicObject method doesn't work).
Any hints on this? One way could be to check if the path begins with /ifs/files, but that's not really nice.. and besides I could have the same problem in some other parts.
It's kind of urgent....
Thanks
Ramiro
nullHi,
The answer to your path problem is that you can make use of API to find out the current path so that it works both with Apache and with JWS. Follow the steps
1. import the oracle.ifs.adk.http package in your custom jsps
<%@ page import = "oracle.ifs.adk.http.*" %>
2. Then within your jsp use the method
getIfsPathFromJSPRedirect
<%= oracle.ifs.adk.http.HttpUtils.getIfsPathFromJSPRedirect(request) %>
This will give you the current path of the object on which you clicked on and which initiates the custom jsp.
You can look at the CMS application which has made use of this API. URL is
http://otn.oracle.com/sample_code/products/ifs/sample_code_index.htm
Choose, sample applicatin -> Content Management system.
Hope this helps
Rajesh
null
Maybe you are looking for
-
How to use xs:date() in an update query?
I cannot test xs:date attributes in an "update" query. In a "select" query, all work fine. This is the sample schema: <?xml version="1.0" encoding="utf-8"?> <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) --> <xs:sche
-
I implemented a while ago a H.264 re-encoding to output H.264 QuickTime .mov file usng QuickTime Window SDK 7.3.0.70. The code uses ICMCompressionSession to compress the frames going into the container. The code works fine with cameras with resoluti
-
Problem with buying Skype credit.
I have tried to buy Skype credit several times, but no success. Everytime after I clicked the Continue button to make the purchase, it went to the page showing Loading and being frozen there. Any help would be appreciated.
-
Building HTML page with JSP from different applications
Hi, we need to build a HTML page with 2 JSPs. If both JSP were in the same Application (Weblogic 8,1) there is no problem. But I have to use JSPs from differents web applications, each JSP is in different war f
-
What in the world is going on with my battery????
100% this morning, took it to work (I drive around all day in my city). I have 3g and Edge on. At 80%, I had a usage of 1 hour, 6 minutes. Perfect, that's 6 minutes more than what apple states I should get. At 60%, I had a usge of 2 hours, 9 minutes.