Inside nextreports-server.war/WEB-INFyou should add weblogic.xml file:
<?xml version="1.0" encoding="UTF-8"?>Here we specified we want another joda library than that used by weblogic.
<wls:weblogic-web-app
xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
http://xmlns.oracle.com/weblogic/weblogic-web-app
http://xmlns.oracle.com/weblogic/weblogic-web-app/1.1/weblogic-web-app.xsd">
<wls:weblogic-version>12c</wls:weblogic-version>
<wls:jsp-descriptor>
<wls:debug>true</wls:debug>
</wls:jsp-descriptor>
<wls:container-descriptor>
<wls:prefer-application-packages>
<wls:package-name>org.joda.time.*</wls:package-name>
</wls:prefer-application-packages>
</wls:container-descriptor>
</wls:weblogic-web-app>
Next, we have to register reports folder as a web context. We create a reports.war folder as a sibling to nextreports-server.war, and inside it we have a WEB-INF folder with two files:
web.xml
<?xml version="1.0" encoding="UTF-8"?>and weblogic.xml where we specified local path to our reports folder:
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-web-jar.dtd">After your server starts, you should accordingly modify your server settings like base url, reports url , mail server and so on.
<weblogic-web-app>
<container-descriptor>
<index-directory-enabled>true</index-directory-enabled>
</container-descriptor>
<virtual-directory-mapping>
<local-path>/appsvr/reports</local-path>
<url-pattern>*</url-pattern>
</virtual-directory-mapping>
<context-root>/reports</context-root>
</weblogic-web-app>
References:
Publish static context to WebLogic
ReplyDeleteExcellent post on Java!!!Everyone are repeating the same concept in their blog, but here I get a chance to know new things in Java programming language. I will also suggest your content to my friends to know about recent features of Java.
Regards:
Best Java Training in Chennai |
J2EE Training in Chennai
Great Article android based projects
DeleteJava Training in Chennai
Project Center in Chennai
Java Training in Chennai
projects for cse
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training India . Nowadays Java has tons of job opportunities on various vertical industry.
ReplyDeleteCasinos near me - MapyRO
ReplyDeleteCasino Near Me - Find Casinos Near Me in the USA - Find Casinos Near 화성 출장안마 You, Find 오산 출장마사지 The Best 계룡 출장안마 Casinos And Win 경상북도 출장마사지 Cash 정읍 출장샵 At!
It also can create drone and defense Shower Curtains equipment, and possibly even area food. Companies will want individuals who can find the best way|one of the only ways|the easiest way} to utilize 3D printing for consumer merchandise at the lowest price possible. Consequently, 3D CAD modeling jobs would require printing-specific modeling skills, such as function measurement, geometrical constraints and data of supplies, English added.
ReplyDelete