confguring auto vue servlet on weblogic
If the AutoVue server will be accessed by clients outside a firewall, direct access non-standard ports (i.e. non-HTTP) are often blocked. To enable clients to access servers that are protected by firewalls, a servlet is provided to tunnel requests through the HTTP or HTTPS protocol. When tunneling is required, the AutoVue client encodes requests from the HTTP/HTTPS protocol and attempts to invoke the servlet on the specified server. The servlet decodes the parameters included in the request and forwards the request to the AutoVue server using a socket connection. The servlet also replies to the client machine using the same HTTP/HTTPS protocol.
Two changes are needed to configure the server.
A) Install the file vueservlet.jar into the Application server or Servlet engine. Follow the instructions provided with the Application server or Servlet engine.
Tunneling through J2EE-enabled Application Servers This section provides instructions for creating and deploying VueServlet for J2EE application servers. Creating a WAR File for VueServlet Complete the following instructions to create a WAR file for VueServlet. 1 Create a directory. Example: C:\csiwar 2 In the folder C:\csiwar, create a sub-directory WEB-INF. 3 In WEB-INF, create a directory lib: C:\csiwar\WEB-INF\lib 4 Copy vueservlet.jar to C:\csiwar\WEB-INF\lib. 5 Create a deployment descriptor. The deployment descriptor should be stored as a file named web.xml in the WEB-INF directory. • The following is the mandatory header for the web.xml document. It defines the document as an XML file and relates the file syntax to the DOCTYPE resource specified.
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
• Use the following code to specify the deployment descriptor needed to deploy the VueServlet.
<web-app> <servlet> <servlet-name>com.cimmetry.servlet.VueServlet</servlet-name> <servlet-class>com.cimmetry.servlet.VueServlet</servlet-class> <init-param> <param-name>JVueServer</param-name> <param-value>hostname:5099</param-value> </init-param> <init-param> <param-name>Verbose</param-name> <param-value>0</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>com.cimmetry.servlet.VueServlet</servlet-name> <url-pattern>/servlet/VueServlet</url-pattern> </servlet-mapping> </web-app>
The <servlet-name> parameter is how the Servlet is known within the XML file.
The <servlet-class> parameter is the fully qualified Java programming language class name of the Servlet. The <url-pattern> parameter is how the Servlet is referenced from a Universal Resource Indicator (URI).
Update hostname with the name of AutoVue server machine.
Note The parameter structure must follow the order in the DTD definition. For example, all <servlet>s must be defined before any <servlet-mapping>s can be specified. • Update hostname in web.xml with the name of AutoVue server machine.
6. To create the WAR file, use the “jar” utility from the JavaTM Development Kit distribution. If you are in the root directory you created for the WAR contents (C:\csiwar), use the following command: jar cvf VueServlet.war WEB-INF Now you can deploy VueServlet.war using any J2EE compliant application server or Web container.
7 After the VueServlet is deployed, to access the content, type the following into your web browser:
http://host:port/<context>/servlet/VueServlet
The <context> parameter can be set in the deployment phase or set automatically by the application server. Some application servers allow you to specify the context name, but generally the WAR file name is used as the context.
Steps to Deploy the WAR File 1 Launch the administrative console of your application server. 2 Select Install a new Web application. 3 Browse and select VueServlet.war. 4 Specify VueServlet for the context name. 5 Deploy VueServlet.war.
B) Update the Web pages that embed the AutoVue client to include the full URL of the Servlet (something like http://servername/servlet/VueServlet) as the JVUESERVER parameter.
The VueServlet supports two parameters: the JVueServer parameter and the Verbose parameter. The JVueServer parameter needs to be set to the hostname:port value used when starting the AutoVue server. By default, localhost:5099 is used and will work if you installed the AutoVue server on the same machine as the Web server.
You can specify more than one hostname:port separated by semi-colons ( ; ) for fail-over. In other words, if one machine is down the servlet will try the next machine. The Verbose parameter enables verbose output. Both parameters are optional. If JVueServer is not specified, it defaults to localhost:5099. The servlet assumes that AutoVue server is running on the same machine as the Web server and communicates through port 5099. If Verbose not specified, it defaults to False.
oracle UCM 11G – show up blank page?
1- restart of the entire server (not just UCM 11G) seemed to solve the problem.
2- start DB
3- start nodemanager
4- start weblogic
then login with https and rebuild the index
How to implement SSL in UCM?
Steps needed to setup the Content Server to use SSL are as follows….
1. Open the file <UCM>/config/config.cfg
2. Change the value for HttpServerAddress=http:// … to https://.…
3. Add the config entry UseSSL=true
4. Restart the Content Server
5. Start the Admin Applet Weblayout Editor
6. Update the Portal Page
7. If you are using the Folders component make the above config changes to these two files. < UCM>/data/components/folders/config.cfg < UCM>/data/components/folders/install.cfg 8. Restart the content server after all changes have been made.
how to get all schemas at oracle with owners and change them?
SQL> SELECT comp_id, comp_name, version, status, mrc_name, owner FROM schema_version_registry;
COMP_ID COMP_NAME VERSION STATUS MRC_NAME OWNER———- —————————— ———- ———– ———- —————
BAM BAM Services 11.1.1.2.0 VALID DEV DEV_ORABAM MDS Metadata Services 11.1.1.4.0 VALID SYSMAN SYSMAN_MDS ORASDPM SDP Messaging 11.1.1.2.0 VALID DEV DEV_ORASDPM SOAINFRA SOA Infrastructure Services 11.1.1.4.0 VALID DEV DEV_SOAINFRA
1. Log in as SYSTEM to the database.
2. Run the following command:
UPDATE system.schema_version_registry$ SET mrc_name = ‘DEV’, owner = ‘DEV_MDS’ WHERE mrc_name = ‘SYSMAN’ AND owner = ‘SYSMAN_MDS’;
3. Rerun the “psa”.
how to install jrockit 64 bit,weblogic server at linux?
Download the WebLogic Server installation files from OTN or E-Delivery.
Make sure the JAVA_HOME refers to the proper Java installation:
$ JAVA_HOME=/oracle/jrockit-jdk1.6.0_24 export JAVA_HOME $ PATH=$JAVA_HOME/bin:$PATH; export PATH
Check that the proper Java version will be used:
$ java -version Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1432-linux-x86_64, compiled mode)
If you are installing WebLogic Server on a 64-bit platform using a .jar installation program use the downloaded wlsversionnumber_generic.jar . Start the installation using the following command. Include the -d64 flag in the installation command when using a 32/64-bit hybrid JDK.
$ java -d64 -jar wls1035_generic.jar