Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
c691b833
Commit
c691b833
authored
11 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
no-jira: fix deployment for JBoss AS and Wildfly
parent
3ad2363b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pom.xml
+13
-0
13 additions, 0 deletions
pom.xml
src/main/java/de/bps/onyx/util/_spring/examControlJms_jndi.xml
+1
-21
1 addition, 21 deletions
...ain/java/de/bps/onyx/util/_spring/examControlJms_jndi.xml
src/main/webapp-jbossas7/WEB-INF/web.xml
+2
-67
2 additions, 67 deletions
src/main/webapp-jbossas7/WEB-INF/web.xml
with
16 additions
and
88 deletions
pom.xml
+
13
−
0
View file @
c691b833
...
@@ -380,6 +380,17 @@
...
@@ -380,6 +380,17 @@
</exclusion>
</exclusion>
</exclusions>
</exclusions>
</dependency>
</dependency>
<dependency>
<groupId>
com.sun.xml.ws
</groupId>
<artifactId>
jaxws-rt
</artifactId>
<version>
2.2.6
</version>
</dependency>
<dependency>
<groupId>
com.sun.xml.fastinfoset
</groupId>
<artifactId>
FastInfoset
</artifactId>
<version>
1.2.8
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
@@ -1536,6 +1547,7 @@
...
@@ -1536,6 +1547,7 @@
<groupId>
com.sun.xml.ws
</groupId>
<groupId>
com.sun.xml.ws
</groupId>
<artifactId>
jaxws-rt
</artifactId>
<artifactId>
jaxws-rt
</artifactId>
<version>
2.2.6
</version>
<version>
2.2.6
</version>
<scope>
test
</scope>
<exclusions>
<exclusions>
<exclusion>
<exclusion>
<groupId>
javax.activation
</groupId>
<groupId>
javax.activation
</groupId>
...
@@ -1547,6 +1559,7 @@
...
@@ -1547,6 +1559,7 @@
<groupId>
com.sun.xml.fastinfoset
</groupId>
<groupId>
com.sun.xml.fastinfoset
</groupId>
<artifactId>
FastInfoset
</artifactId>
<artifactId>
FastInfoset
</artifactId>
<version>
1.2.8
</version>
<version>
1.2.8
</version>
<scope>
test
</scope>
</dependency>
</dependency>
<!-- </OLATCE-1322> -->
<!-- </OLATCE-1322> -->
<dependency>
<dependency>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/de/bps/onyx/util/_spring/examControlJms_jndi.xml
+
1
−
21
View file @
c691b833
...
@@ -9,29 +9,9 @@
...
@@ -9,29 +9,9 @@
<property
name=
"jndiName"
><value>
${jms.broker.jndi}
</value></property>
<property
name=
"jndiName"
><value>
${jms.broker.jndi}
</value></property>
</bean>
</bean>
<!-- used for sending the search requests -->
<!-- used for sending the search requests -->
<bean
id=
"examControlQueue"
class=
"org.apache.activemq.command.ActiveMQQueue"
lazy-init=
"true"
>
<constructor-arg
value=
"olat/examQueue"
/>
</bean>
<bean
id=
"examControlQueue"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<bean
id=
"examControlQueue"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<property
name=
"jndiName"
><value>
${exam.broker.jndi}
</value></property>
<property
name=
"jndiName"
><value>
${exam.broker.jndi}
</value></property>
</bean>
</bean>
<!-- JMS Stuff -->
<bean
id=
"searchConnectionFactory"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<property
name=
"jndiName"
><value>
${jms.broker.jndi}
</value></property>
</bean>
<bean
id=
"searchQueue"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<property
name=
"jndiName"
><value>
${search.broker.jndi}
</value></property>
</bean>
<bean
id=
"indexConnectionFactory"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<property
name=
"jndiName"
><value>
${jms.broker.jndi}
</value></property>
</bean>
<bean
id=
"indexQueue"
class=
"org.springframework.jndi.JndiObjectFactoryBean"
lazy-init=
"true"
>
<property
name=
"jndiName"
><value>
${index.broker.jndi}
</value></property>
</bean>
</beans>
</beans>
This diff is collapsed.
Click to expand it.
src/main/webapp-jbossas7/WEB-INF/web.xml
+
2
−
67
View file @
c691b833
...
@@ -115,41 +115,15 @@
...
@@ -115,41 +115,15 @@
</listener-class>
</listener-class>
</listener>
</listener>
<!-- log4j is global -->
<!-- this only works in an expanded war file: Comment on spring website:
If you want to keep your WAR unexpanded or don't need application-specific log files within the WAR directory,
don't use log4j setup within the application (thus, don't use Log4jConfigListener or Log4jConfigServlet).
Instead, use a global, VM-wide log4j setup (for example, in JBoss) or JDK 1.4's java.util.logging (which is global too). -->
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
<listener>
<listener>
<listener-class>
org.olat.restapi.security.RestApiSessionListener
</listener-class>
<listener-class>
org.olat.restapi.security.RestApiSessionListener
</listener-class>
</listener>
</listener>
<listener>
<listener>
<listener-class>
org.olat.core.dispatcher.mapper.MapperSessionListener
</listener-class>
<listener-class>
org.olat.core.dispatcher.mapper.MapperSessionListener
</listener-class>
</listener>
</listener>
<!-- 4. Servlets -->
<servlet>
<servlet-name>
log4j-init
</servlet-name>
<servlet-class>
org.olat.core.servlets.Log4JInitServlet
</servlet-class>
<init-param>
<param-name>
log4j-init-file
</param-name>
<param-value>
log4j.xml
</param-value>
<!-- this is the default for lazy developers to have output on eclipse console.
Overwrite it with -Dlog4j.configuration="file:/tmp/mylog4j.xml" (java system property) and specifie a path for your logging config.
See olat3/conf for an example file -->
</init-param>
<load-on-startup>
1
</load-on-startup>
</servlet>
<!-- OLAT servlet -->
<!-- OLAT servlet -->
<servlet>
<servlet>
<servlet-name>
olatservlet
</servlet-name>
<servlet-name>
olatservlet
</servlet-name>
...
@@ -158,26 +132,6 @@
...
@@ -158,26 +132,6 @@
<!-- Set the load order -->
<!-- Set the load order -->
<load-on-startup>
1
</load-on-startup>
<load-on-startup>
1
</load-on-startup>
</servlet>
</servlet>
<!-- axis -->
<servlet>
<display-name>
Apache-Axis Servlet
</display-name>
<servlet-name>
AxisServlet
</servlet-name>
<servlet-class>
de.bps.onyx.plugin.wsserver.OnyxAxisServlet
</servlet-class>
<init-param>
<param-name>
axis2.xml.path
</param-name>
<param-value>
/axis2.xml
</param-value>
</init-param>
</servlet>
<servlet>
<display-name>
Apache-Axis Admin Servlet Web Admin
</display-name>
<servlet-name>
AxisAdminServlet
</servlet-name>
<servlet-class>
org.apache.axis2.transport.http.AxisAdminServlet
</servlet-class>
<load-on-startup>
100
</load-on-startup>
</servlet>
<!-- /axis -->
<!-- WebDAV servlet -->
<!-- WebDAV servlet -->
<servlet>
<servlet>
...
@@ -278,25 +232,6 @@
...
@@ -278,25 +232,6 @@
<url-pattern>
/ical/*
</url-pattern>
<url-pattern>
/ical/*
</url-pattern>
</servlet-mapping>
<!-- Spring loading -->
</servlet-mapping>
<!-- Spring loading -->
<!-- Axis mapping -->
<servlet-mapping>
<servlet-name>
AxisServlet
</servlet-name>
<url-pattern>
/servlet/AxisServlet
</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>
AxisServlet
</servlet-name>
<url-pattern>
*.jws
</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>
AxisServlet
</servlet-name>
<url-pattern>
/services/*
</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>
AxisAdminServlet
</servlet-name>
<url-pattern>
/axis2-admin/*
</url-pattern>
</servlet-mapping>
<!-- 6. Session-Config -->
<!-- 6. Session-Config -->
<!-- default session timeout -->
<!-- default session timeout -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment