BEA Weblogic Products clearification
The following url http://www.theserverside.com/reviews/matrix.jsp contains some
inforamation on Weblogic Products and prices.
Can sombody tell me if the information(price, products) is up to date?
If it is, What is the difference between Weblogic Server 8.1 Advantage and Weblogic
Server 8.1 premium?
Thanks
Leonid
"Leonid" <[email protected]> wrote:
>
The following url http://www.theserverside.com/reviews/matrix.jsp contains
some
inforamation on Weblogic Products and prices.
Can sombody tell me if the information(price, products) is up to date?
If it is, What is the difference between Weblogic Server 8.1 Advantage
and Weblogic
Server 8.1 premium?
Thanks
LeonidHi,
Premium Edition Supports Clustering of servlets,jsps,jdbc connections,ejbs.....whereas
Advantage does'nt.As far as my knowledge is concerned.
Thanks,
kapil.
Similar Messages
-
What's the differenct in the BEA WebLogic Server Products.
hello,
can anyone tell me the difference between 'BEA WebLogic Server Advantage Edition' and 'A WebLogic Server Premium Edition'?
thanks.Premium supports clustering of servers, web sessions, jms and ejb's.
Advantage edition only licenses non-clustered servers. -
XSQL and BEA Weblogic 6.1
I spent a lot of time trying to figure out how to configure
the XSQL servlet to run on BEA Weblogic 6.1
It is really simple once you understand that you should work
off expanded directory instead of trying to get a .war or .ear
file uploaded.
I decided to give my explanation to help others...
This works with the current XDK (9.0.2.0.0D) on OTN and I got it
running on Windows 2000 and/or Solaris.
I based these instructions on Steve Muench for
"ANN Deploy Oracle XSQL Pages to OC4J" off the OTN web site.
1) get the latest xdk_java off the OTN web site.
2) create a directory (or subdirectory) named xsql (to hold the entire application
3) create /xsql/META-INF
/xsql/WEB-INF
/xsql/WEB-INF/lib
/xsql/WEB-INF/classes
structure to hold the XSQL servlet
4) create a /xsql/META-INF/application.xml with the following code:
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN'
'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<display-name>Oracle XSQL Servlet</display-name>
<description>Oracle XSQL Servlet</description>
<module>
<web>
<web-uri>xsql.war</web-uri>
<context-root>xsql</context-root>
</web>
</module>
</application>
5) create the file /xsql/WEB-INF/web.xml with the following content
<?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">
<web-app>
<servlet>
<servlet-name>oracle-xsql-servlet</servlet-name>
<servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>oracle-xsql-servlet</servlet-name>
<url-pattern>*.xsql</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>oracle-xsql-servlet</servlet-name>
<url-pattern>/xsql/*</url-pattern>
</servlet-mapping>
</web-app>
6)extract the xdk_java (that you copied from the OTN) on a temporary directory. (/otn)
7) copy the following files (they are in the /otn/lib subdirectory) into /xsql/WEB-INF/lib
oraclexsql.jar
xsqlserializers.jar
xmlparserv2.jar
xsu12.jar
8) copy /otn/xdk/admin/XSQLConfig.xml to xsql/WEB-INF/classes
9) copy the entire directory and subdir /otn/xdk/demo/java/xsql to /xsql/demo
10) no need to create a war or ear file as Weblogic will work better from the expanded directory
anyway and it is simpler to implement.
11) Now you need to copy that entire directory structure /xsql over to the Weblogic Application Server
config/domain-name/applications area so in my case it is
/bea/wlserver6.1/config/your_domain/applications/xsql
12) If Weblogic is running in development mode, it should deploy and load the servlet automatically.
If it is running in production mode, then we would need to restart it.
13) You should be able to test this with http://your_host:7001/xsql/demo/index.html
Any URL that specifies the /xsql will then be treated by the
XSQL Servlet.
It works for me...Hi Denis,
I followed your procedure to deploy XSQL Servlet on WebLogic 6.1. First I deployed as expanded directory structure although I turned 'Auto Deployed Enabled' flag to on for my domain, WebLogic couldn't pick up the application. Then I tried to create ear application and deployed it (In your message you are saying that don't need to create ear or war, you mean this is not just a necessity or it never could be deployed as ear/war files). I saw on the as deployed on console but when I tried the http://myhost:7001/xsql/demo/index.html, I got the following error message.
Oracle XDK Java 9.2.0.2.0 Production
XSQL-013: XSQL Page URI is null or has an invalid format.
Oracle XDK Java 9.2.0.2.0 Production
XSQL-013: XSQL Page URI is null or has an invalid format.
Can you help me to trouble shoot this problem? Thank you very much
Deha Peker -
Error in shutdown script for bea weblogic
We have this error in the shutdown script of our bea weblogic:
./stopWebLogic.sh[33]: -Xms256m: not found.
using the Oracle OCI database driver
Shutdown initiated
The shutdown sequence has been initiated.the script is as follows:
echo "using the Oracle OCI database driver"
export ORACLE_HOME=/opt/oracle/product/8.1.7
export NLS_LANG=AMERICAN_AMERICA.UTF8
export ORACLE_CLIENT_VERSION=817
export ORACLE_API_VERSION=8
PATH=$PATH:$ORACLE_HOME/bin
SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
_HOME/lib
PATH=$JDK_HOME/bin:$PATH
export PATH
# Set application specific variables
DOMAIN_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
#!/bin/sh
# Weblogic start script for egovernment
# Based on Colin Brick's initial version
# Modified 02/04/03 - Colin Brick
# - included settings for Oblix from using SSO Assembly Test as example
# Set General environment variables (Should normally not be changed)
#Java settings
JDK_HOME=/opt/bea/jdk131/
export JDK_HOME
JAVACMD=java
JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""
export JAVA_OPTIONS
WEBLOGIC_PORT=51080
#Bea settings
BEA_HOME=/opt/bea
export BEA_HOME
WEBLOGIC_HOME=/opt/bea/wlserver6.1
export WEBLOGIC_HOME
BEA_SECURITY_POLICY=/opt/bea/wlserver6.1/lib/weblogic.policy
export BEA_SECURITY_POLICY
#Oracle settings
echo "using the Oracle OCI database driver"
export ORACLE_HOME=/opt/oracle/product/8.1.7
export NLS_LANG=AMERICAN_AMERICA.UTF8
export ORACLE_CLIENT_VERSION=817
export ORACLE_API_VERSION=8
PATH=$PATH:$ORACLE_HOME/bin
SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
_HOME/lib
PATH=$JDK_HOME/bin:$PATH
export PATH
# Set application specific variables
DOMAIN_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
domain_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
#Set the shared library path
if [ -n "$SHLIB_PATH" ]; then
SHLIB_PATH=$SHLIB_PATH:$SHARED_LIBRARY_PATH
else
SHLIB_PATH=$SHARED_LIBRARY_PATH
fi
export SHLIB_PATH
# Start weblogic
# change to weblogic home
cd $WEBLOGIC_HOME
PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
$JAVACMD -classpath $CLASSPATH -Dbea.home=$BEA_HOME -Dweblogic.Domain=$DOMAIN_NAME -Dweblogic.Name=MyServer weblogic.Admin -ur
l t3://localhost:$WEBLOGIC_PORT -username system -password $WLS_PW SHUTDOWNIt has obviously something to do with the line
JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""I googled for this Xms1024m, Xmx1024m and it turns out to be for memory management for the java virtual machine.
I don't know why it sais it can't find "-Xms256m" since it's not in the script.
Anyone with some experience in this field who can help me out?./stopWebLogic.sh[33]: -Xms256m: not found.
this can be produced by something like this:
javaoptions="-Xms256m" // or other option too
$javacmd $javaoptions
Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case. -
How to install Oracle BPEL Process Manager with the BEA WebLogic
Hi ,
I will install Oracle BPEL Process Manager with BEA WebLogic 9.2(MP2). I have download orabpel_10133_WebLogic.zip ,then Modify the following mandatory installation properties in the orabpel_10133_WebLogic\bpelDomain.properties file:
# BEA_HOME is the path where Weblogic is Installed
BEA_HOME=/opt/bea
# JAVA_HOME is the path of jdk folder inside your weblogic
JAVA_HOME=/opt/bea/jrockit90_150_10
# DOMAIN_HOME is the path where you wish to create your domain called BPELDomain
DOMAIN_HOME=/opt/bea/user_projects/domains
# APPS_HOME is the path where you wish to copy your applications and adapters that are required for oracleBPELServer
APPS_HOME=/opt/bea/user_projects/apps
# BEA_HOME is the path where BPEL PM is Installed
BPEL_HOME=/home/oracle/bpel/product/10.1.3.1/OraBPEL_1/bpel
# DRIVER_TYPE is the datasource class that installable use to create a datasources for oracleBPELServer
DRIVER_TYPE=oracle.jdbc.xa.client.OracleXADataSource
# DB_URL is the url to connect to orabpel schema
DB_URL=jdbc:oracle:thin:@16.157.134.17:1521:orcl
# DB_USER is the user Id for orabpel shema in database
DB_USER=ORABPEL
#DB_PASSWORD is the password for orabpel schema in database
DB_PASSWORD=bpel
#BPEL_SERVER_NAME is the server i.e. to be created under BPELDomain
BPEL_SERVER_NAME=oracleBPELServer
#PROXY_HOST is the Host name of the proxy server
PROXY_HOST=www-proxy.us.oracle.com
#PROXY_HOST=
#PROXY_PORT is the Port where the proxy server is running
PROXY_PORT=80
#PROXY_PORT=
#NON_PROXY_HOST is the list of non proxy hosts that are divided by a | symbol
#NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com
NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com|16.157.134.135
When I run the setup.sh , it will report
BUILD FAILED
/opt/software/WL_Installables/build.xml:131: Traceback (innermost last):
File "./wl_scripts/bpelDomain.py", line 22, in ?
File "./wl_scripts/createGroupsAndUsers.py", line 4, in ?
weblogic.management.utils.AlreadyExistsException: [Security:090267]Group BpelGroup
Actully ,there is no BpelGroup in Weblogic. Does anybody know how to solve it ?MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
#!/bin/sh
unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
unset CLASSPATH JAVA_HOME
export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
export BEA_HOME=/appl/oracle/products/9.2/weblogic
Marc
http://orasoa.blogspot.com -
Bea Weblogic Integration 9.2 Unix installer
Hi
Can somebody please help me to get Bea Weblogic Integration 9.2 Unix installer ? I want it for developement purpose on unix machine.
I am not able to find it on the oracle product site.
Thank you.There is one link here - not sure if it is the one you need
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
HTH
Srini -
Nedd to configure apache-bea weblogic plugin for apache2 on solaris 10
Hi,
I have an apache server and a bea weblogic application server. For security reasons, I wold like to configure a bea plugin on the apache server to redirect the client http/https requests from the apache2 server to bea application server.
I have gone through the bea documentation and configure my apache2 httpd.conf as follows
LoadModule weblogic_module modules/mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
MatchExpression *.jsp
</IfModule>
<Location /weblogic>
WebLogicHost myweblogic.server.com
WebLogicPort 7001
SetHandler weblogic-handler
PathTrim /weblogic
</Location>
Then Restarted the apache2 and tryied to acces bea application through http://myweblogic.server.com/weblogic/
and http://myweblogic.server.com/something.jsp
It did not work
httpd is started propery.
Any help would be highly apreciated
Many Thanks
Ushas SymonThe Web server plug-ins do not natively support outbound SSL connections
yet(i.e. SSL from the plug-in to WebLogic). This is a feature for version
6.0. You can use SSL from the browser to Apache or from the browser to
WebLogic directly.
The majority of our customers use strict firewall rules to protect the
traffic between Apache and WebLogic. If they are paranoid, they use an SSL
proxy or a VPN product.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Josh Kwan" <[email protected]> wrote in message
news:39d4e8a5$[email protected]..
>
Hello,
I want to know how to connect Apache 1.3.12 with mod_ssl to BEA WebLogic5.1.0 on Solaris via HTTPS. I have heard that this can only work over t3...
is that true? If so, how can it be done securely? If that isn't the case,
how can httpd.conf/weblogic.conf be configured on the Apache server to talk
to the WebLogic server on port 7002? Both of the machines I am using are
running Solaris 7 with necessary patches. I have installed SP5 for WebLogic
and I have copied mod_wl.so and mod_wl_ssl.o to the Apache server for
inclusion as modules.
>
The two servers communicate correctly over HTTP, but I want to be able toserve some JSPs via HTTPS from the WebLogic server through the Apache web
server. I have generated all the required CA and server certificates for
each server, and they both individually answer HTTPS requests, but do not
work when an HTTPS request is sent to the Apache server for a JSP that is
served from the WebLogic server. I read somewhere in the documentation for
5.1.0 that WebLogic will communicate via HTTPS to various web and proxy
servers.
>
Any help would be greatly appreciated... thanks!
Regards,
Josh Kwan
Sr. Systems Engineer
iXL -
ANN: J2EE Applications & BEA WebLogic Hardcopies Available!
** J2EE Applications & BEA WebLogic Hardcopies Available! **
The first hardcopies of the only programming book to cover J2EE & WebLogic 6
are now available. For those of you that have already ordered, we thank you.
In just a few short weeks we have moved up to the No. 42 spot on Amazon.
If you have not ordered already, you can order now and copies will be
shipped in just a few short days. The book can be located Amazon.com at the
following URL:
http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
5396741-5920623
More information on this book can be located at:
http://www.learnweblogic.com/.
** Overview **
Building J2EE Applications & BEA WebLogic is targeted at Java programmers
developing applications for the BEA WebLogic platform, the leading Web
Application Server in the marketplace today. This book focuses on best
practices for developing enterprise applications using the WebLogic APIs.
After reading this book, intermediate or professional-level Java developers
will possess the skills and knowledge required to develop scalable and
robust applications on the WebLogic platform.
The book combines reference and tutorial, taking a step-by-step approach
that introduces each API and uses it to build a component of the WebAuction
application, which supports on-line Auctioning on the Web. All software
needed to build the sample application is included on a CD-ROM that
accompanies the book. The WebAuction project gives users the opportunity to
explore significant areas of building a distributed Enterprise Java
application, including:
· Planning in advance for scalability and deployment
· Building presentation logic
· Establishing database connectivity
· Creating Enterprise Java Beans for the BEA WebLogic application server
· Packaging the whole application so that it can be easily managed and
maintained.
** About the Authors **
Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
the lead developer for the WebLogic Server EJB Container. Before joining
BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
Bachelors degree in Computer Science from Princeton University.
Michael Girdley is the Director of Product Management for WebLogic Server at
BEA, a role in which he acts as chief marketing liaison to over 200
engineers. An experienced application developer in Java, HTML, C, and C++,
Michael is a co-author of Web Programming with Java (Sams-net Publishing,
1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
Michael holds a Bachelors degree in Computer Science with Honors from
Lafayette College.
Sandra L. Emerson is a technical writer and consultant with 20 years'
experience in the software industry. She is a co-author of four computer
trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
(Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
is scheduled for Fall, 2000.** J2EE Applications & BEA WebLogic Hardcopies Available! **
The first hardcopies of the only programming book to cover J2EE & WebLogic 6
are now available. For those of you that have already ordered, we thank you.
In just a few short weeks we have moved up to the No. 42 spot on Amazon.
If you have not ordered already, you can order now and copies will be
shipped in just a few short days. The book can be located Amazon.com at the
following URL:
http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
5396741-5920623
More information on this book can be located at:
http://www.learnweblogic.com/.
** Overview **
Building J2EE Applications & BEA WebLogic is targeted at Java programmers
developing applications for the BEA WebLogic platform, the leading Web
Application Server in the marketplace today. This book focuses on best
practices for developing enterprise applications using the WebLogic APIs.
After reading this book, intermediate or professional-level Java developers
will possess the skills and knowledge required to develop scalable and
robust applications on the WebLogic platform.
The book combines reference and tutorial, taking a step-by-step approach
that introduces each API and uses it to build a component of the WebAuction
application, which supports on-line Auctioning on the Web. All software
needed to build the sample application is included on a CD-ROM that
accompanies the book. The WebAuction project gives users the opportunity to
explore significant areas of building a distributed Enterprise Java
application, including:
· Planning in advance for scalability and deployment
· Building presentation logic
· Establishing database connectivity
· Creating Enterprise Java Beans for the BEA WebLogic application server
· Packaging the whole application so that it can be easily managed and
maintained.
** About the Authors **
Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
the lead developer for the WebLogic Server EJB Container. Before joining
BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
Bachelors degree in Computer Science from Princeton University.
Michael Girdley is the Director of Product Management for WebLogic Server at
BEA, a role in which he acts as chief marketing liaison to over 200
engineers. An experienced application developer in Java, HTML, C, and C++,
Michael is a co-author of Web Programming with Java (Sams-net Publishing,
1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
Michael holds a Bachelors degree in Computer Science with Honors from
Lafayette College.
Sandra L. Emerson is a technical writer and consultant with 20 years'
experience in the software industry. She is a co-author of four computer
trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
(Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
is scheduled for Fall, 2000. -
J2EE Applications & BEA WebLogic Hardcopies Available!
** J2EE Applications & BEA WebLogic Hardcopies Available! **
The first hardcopies of the only programming book to cover J2EE & WebLogic 6
are now available. For those of you that have already ordered, we thank you.
In just a few short weeks we have moved up to the No. 42 spot on Amazon.
If you have not ordered already, you can order now and copies will be
shipped in just a few short days. The book can be located Amazon.com at the
following URL:
http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
5396741-5920623
More information on this book can be located at:
http://www.learnweblogic.com/.
** Overview **
Building J2EE Applications & BEA WebLogic is targeted at Java programmers
developing applications for the BEA WebLogic platform, the leading Web
Application Server in the marketplace today. This book focuses on best
practices for developing enterprise applications using the WebLogic APIs.
After reading this book, intermediate or professional-level Java developers
will possess the skills and knowledge required to develop scalable and
robust applications on the WebLogic platform.
The book combines reference and tutorial, taking a step-by-step approach
that introduces each API and uses it to build a component of the WebAuction
application, which supports on-line Auctioning on the Web. All software
needed to build the sample application is included on a CD-ROM that
accompanies the book. The WebAuction project gives users the opportunity to
explore significant areas of building a distributed Enterprise Java
application, including:
· Planning in advance for scalability and deployment
· Building presentation logic
· Establishing database connectivity
· Creating Enterprise Java Beans for the BEA WebLogic application server
· Packaging the whole application so that it can be easily managed and
maintained.
** About the Authors **
Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
the lead developer for the WebLogic Server EJB Container. Before joining
BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
Bachelors degree in Computer Science from Princeton University.
Michael Girdley is the Director of Product Management for WebLogic Server at
BEA, a role in which he acts as chief marketing liaison to over 200
engineers. An experienced application developer in Java, HTML, C, and C++,
Michael is a co-author of Web Programming with Java (Sams-net Publishing,
1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
Michael holds a Bachelors degree in Computer Science with Honors from
Lafayette College.
Sandra L. Emerson is a technical writer and consultant with 20 years'
experience in the software industry. She is a co-author of four computer
trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
(Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
is scheduled for Fall, 2000.** J2EE Applications & BEA WebLogic Hardcopies Available! **
The first hardcopies of the only programming book to cover J2EE & WebLogic 6
are now available. For those of you that have already ordered, we thank you.
In just a few short weeks we have moved up to the No. 42 spot on Amazon.
If you have not ordered already, you can order now and copies will be
shipped in just a few short days. The book can be located Amazon.com at the
following URL:
http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
5396741-5920623
More information on this book can be located at:
http://www.learnweblogic.com/.
** Overview **
Building J2EE Applications & BEA WebLogic is targeted at Java programmers
developing applications for the BEA WebLogic platform, the leading Web
Application Server in the marketplace today. This book focuses on best
practices for developing enterprise applications using the WebLogic APIs.
After reading this book, intermediate or professional-level Java developers
will possess the skills and knowledge required to develop scalable and
robust applications on the WebLogic platform.
The book combines reference and tutorial, taking a step-by-step approach
that introduces each API and uses it to build a component of the WebAuction
application, which supports on-line Auctioning on the Web. All software
needed to build the sample application is included on a CD-ROM that
accompanies the book. The WebAuction project gives users the opportunity to
explore significant areas of building a distributed Enterprise Java
application, including:
· Planning in advance for scalability and deployment
· Building presentation logic
· Establishing database connectivity
· Creating Enterprise Java Beans for the BEA WebLogic application server
· Packaging the whole application so that it can be easily managed and
maintained.
** About the Authors **
Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
the lead developer for the WebLogic Server EJB Container. Before joining
BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
Bachelors degree in Computer Science from Princeton University.
Michael Girdley is the Director of Product Management for WebLogic Server at
BEA, a role in which he acts as chief marketing liaison to over 200
engineers. An experienced application developer in Java, HTML, C, and C++,
Michael is a co-author of Web Programming with Java (Sams-net Publishing,
1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
Michael holds a Bachelors degree in Computer Science with Honors from
Lafayette College.
Sandra L. Emerson is a technical writer and consultant with 20 years'
experience in the software industry. She is a co-author of four computer
trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
(Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
is scheduled for Fall, 2000. -
BEA Weblogic performance issue
Hi All,
We are using bea weblogic 10.2.
We have some performance issue in our production.
We face the proble like
1. Our bea query takes maxixmum cpu utilization in the oracle databse.
process are content upload, update, expiry and report fetching.
2. When we run BEA query for report it takes around 10 min to run and content count is around 70,000,
is this OK?
3. Some times we get Socket connection error.
4. Sometimes we get portal datasource connection pool error, currently it is set as 30.
5. Almost every process is slow.
Can anyone help me for optimization?
From BBA,
we idetified the query which is taking high CPU utilization..
SELECT
DISTINCT B.NODE_ID, B.NODE_VERSION_ID, B.CM_MODIFIED_DATE, B.MODIFIED_BY,B.VERSION_COMMENT,
B.LIFECYCLE_STATUS,A.OBJECT_CLASS_ID,A.REPOSITORY_NAME
FROM CMV_NODE A, CMV_NODE_VERSION B,(SELECT NODE_ID, MAX(CAST(NODE_VERSION_ID AS INTEGER)) NVI
FROM CMV_NODE_VERSION GROUP BY NODE_ID) A1, ( SELECT B.NODE_ID,B.NODE_VERSION_ID, B.CM_MODIFIED_DATE,
B.MODIFIED_BY, B.VERSION_COMMENT, B.LIFECYCLE_STATUS, A.OBJECT_CLASS_ID, A.REPOSITORY_NAME FROM CMV_NODE A,
CMV_NODE_VERSION B, CMV_NODE_VERSION_PROPERTY N1, CMV_PROPERTY P1, CMV_VALUE_V V1 WHERE A.NODE_ID = B.NODE_ID
AND B.NODE_ID = N1.NODE_ID AND B.NODE_VERSION_ID = N1.NODE_VERSION_ID AND N1.PROPERTY_ID = P1.PROPERTY_ID
AND P1.PROPERTY_ID = V1.PROPERTY_ID AND P1.PROPERTY_NAME = :1 AND (UPPER(V1.TEXT_VALUE) LIKE :2 ESCAPE :"SYS_B_0" )
UNION
SELECT B.NODE_ID, B.NODE_VERSION_ID, B.CM_MODIFIED_DATE, B.MODIFIED_BY, B.VERSION_COMMENT,
B.LIFECYCLE_STATUS, A.OBJECT_CLASS_ID, A.REPOSITORY_NAME FROM CMV_NODE A, CMV_NODE_VERSION B, CMV_NODE_
Edited by: Arvind Rai on Apr 13, 2010 12:49 PMIf your DB CPU is pegged, then anything that does db operations will take time (including some portal operations). If you take a thread dump you should be able to see them waiting on the DB
When we run BEA query for report it takes around 10 min to run and content count is around 70,000,No. If it causes your CPU to max out it isnt. However your content items arent that much, so what query are you running? You could always export and import just the content tables and run your queries on some other machine (Assuming this is the cause)
3. Some times we get Socket connection error.More information needed
4. Sometimes we get portal datasource connection pool error, currently it is set as 30.What is the error?
5. Almost every process is slow.If the DB is maxed this is what you should expect.
When is the query fired? Are your indexes created? I assume caching is not much good to you since these are reporting queries? -
BEA WebLogic vs OAS/OC4J: application redeployment
Hi gang
I'm currently researching solutions to JEE application redeployment, or more specifically when you want to update an existing deployed application on a JEE app server, how can you do so with minimal interruption to the users?
From my research on the internet I've found two approaches, one with the Oracle OAS camp, and another in the BEA Weblogic camp.
Deepek Arora in this Redeploy Web App to Application Server points to an Oracle whitepaper that states the OAS approach is to use clusters. However this article is somewhat old so may not be the most recent recommended approach.
I note that in the BEA documentation for the WebLogic Server here, the documentation details a feature called Production Redeployment (documented here). This feature allows both versions of the application to be deployed, and gracefully moves new user connections to the new application version, while maintaining existing user connections on the old version, eventually shutting down the older application version once the users have disconnected.
What I'd like to know and I hope you can help me with is:
a) Is clusters still the recommended OAS approach to this problem?
b) Does OAS support the similar WebLogic facilities, or are there plans in the future (maybe 11g?) to include this feature?
Very much thanks for your assistance in advance. This question has been bugging me for awhile, so it'd be great to hear your thoughts and recommendations. Alternatively any pointers to any Oracle documentation, whitepapers etc would be appreciated as there is a lot to digest.
Thanks & regards,
Chris Muir.Hey Chris --
OC4J doesn't implement the same side-by-side versioning approach that WLS does -- it's a nice facility from what I have seen of it. We should buy them if we ever get the chance .. :-) Their staged/admin-only deployment model is also very useful for deploy/test/publish scenarios.
In OracleAS 10.1.3.1+ we have the ability to execute a redeployment operation to a "group" of OC4J instances in a serial form.
When a sequential redeployment operation is executed, the cluster deployment handler:
1. Picks the first OC4J instance in the group.
1.1 The container STOPS the application
1.1.1 Signals to mod_oc4j to take it out of the route table so it doesn't get any new requests -- this happens dynamically with no restart required with OHS/mod_oc4j 10.1.3.
1.1.2 Allows all current inflight requests to finish, flushes any session state updates
1.2 The current version of the application is then undeployed
1.3 The new version of the application is deployed
1.4 The application is started
1.4.1 Signals to mod_oc4j that is available for service, dynamically added back into the routing mix.
1.5 Starts receiving and servicing requests
2. Group deployment mechanism waits for the specified timeout period.
3. Repeats the process for the remaining OC4J instances.
4. Finishes.
Since we have session affinity with OHS/mod_oc4j routing, any existing client requests will continue to go to their current instance unless it is stopped. So for customers on V1 of an application, they'll stay on it until it is upgraded. Any requests that get serviced by V2 of an application will continue to be serviced by that server/application, unless it is taken down for some reason.
For those applications that are maintaining client "state" within the server, if the application has configured state-replication, then any session state will be maintained on other nodes as the redeployment of a specific node occurs.
In earlier releases, this was documented in a far more manual fashion as something called a "cluster dance" -- where due to the automated synchronization when operating in a cluster, you needed to take instances out of one cluster into another to do the upgrade, then join them back together.
http://www.oracle.com/technology/products/ias/hi_av/OracleApplicationServer10gR2StatefulRollingUpgrades-WP.pdf
The sequential group deployment mechanism, IMHO offers a much simpler path to do a multiple instance redeployment while maintaining availability.
There's a general doc about this from the same author above here:
http://www.oracle.com/technology/products/ias/hi_av/OracleApplicationServer10gR3HA-WP.pdf
There's a screen cam/viewlet somewhere on OTN I believe that demos this as well.
And a fairly simple form of how-to here which walks you through an example:
http://www.oracle.com/technology/products/ias/hi_av/Dynamic%20Routing.htm
-steve- -
Configuring Workspace to Application Server (BEA Weblogic)
Hiello,
I am in the processing of installing and configuring System 11.1.1.1 and I have run into an issue with configuring Worksapce. I have successfully installed and configured Shared Services on (server1) using BEA Weblogic 9.2 MP3 but when I go to configure Worksapce (on the same server) the Deploy to Application Server FAILS. I have uninstalled and re-installed the software 6+ times with the same results. I would think since Shared Services works using Weblogic 9.2 MP3, Workspace would also work.
When the configruation FAILS while deploying to the Applicaton Server this is the error that is generated in the config log file:
"(Jan 16, 2009, 08:11:11 AM), com.hyperion.hit.registry.utils.RegistryLogger, ERROR, Component type name null is not valid INVOKER IS com.hyperion.hit.registry.LogicalWebAppComponentImpl.getWebAppType
(Jan 16, 2009, 08:11:11 AM), com.hyperion.hit.registry.LogicalWebAppComponentImpl, ERROR,"
Any help would be appreciated.
ThanksHi Jimit,
Please download : Oracle WebLogic Server 11gR1 (10.3.2) - Package Installer from the below link: http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
Once you click on *"Accept"* radio button then after *"Sign in"* you will be able to download it for Linux.
Installation is very easy ...just run the installer ...it will ask for the Installation Directory...and once you provide it...it should do every thing for you.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
XSQL und BEA Weblogic ERROR:XSQL-013
We develop an web-application using XSQL to generate XML, which is further transformed via XSL to HTML or PDF.
As IDE we use JDeveloper 9.0.3.1.
Running and debugging in JDeveloper works fine.
We deploy the application as war-file on bea weblogic 7.2.
When starting the xsql-servlet / calling the xsql file we get the following error:
Oracle XSQL Servlet Page Processor 9.0.3.0.0 (Production)
XSQL-013: XSQL Page URI is null or has an invalid format.
XSQLConfig is located in:
WEB-INF\classes\XSQLConfig.xml</li>
XSQLConfig remains untouched and holds the right connection (OCI)
<connection name="KimOci">
<username>...</username>
<password>...</password>
<dburl>jdbc:oracle:oci8:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=...)(PORT=...)))(CONNECT_DATA=(SID=...)))</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
</connection>
XSQL-File starts with
<?xml version = "1.0" encoding = "ISO-8859-1"?>
<page xmlns:xsql="urn:oracle-xsql" connection="KimOci">
<xsql:include-request-params/>
<xsql:include-param name="ImageUrl"/>
<xsql:include-param name="BaseUrl"/>
<xsql:include-param name="LocalUrl"/>
<xsql:query max-rows="-1" null-indicator="no" tag-case="lower" rowset-element="global" row-element="date">
select ...
Whats wrong or missing?
ThanksTrying to check whats going on within the XSQL-Prozessor we tried the programmatic approach.
First step is to call XSQL from within an action /jsp .
<%
String baseUrl = request.getScheme()
+ "://"
+ request.getServerName()
+ ":"
+ request.getServerPort()
//+ "/"
+ request.getContextPath()
+ "/"
URL pageUrl = new URL(baseUrl+"report/untitled2.xsql");
XSQLRequest req = new XSQLRequest(pageUrl);
PrintWriter of = new PrintWriter( new FileOutputStream("./report.xml"));
PrintWriter ef = new PrintWriter( response.getOutputStream());
Hashtable params = new Hashtable(0);
req.process(params, of, ef );
%>
But still there is an error.
This time we got:
Oracle XSQL Programmatic Page Processor 9.0.3.0.0 (Production) XSQL-005: XSQL page is not well-formed. XML parse error at line 2, char 1 Expected 'EOF'
The code of untitled2.xsql
<?xml version = "1.0" encoding = "ISO-8859-1"?>
<page xmlns:xsql="urn:oracle-xsql" connection="KimOci">
<amen>leer</amen>
</page> -
Error Configuring BEA Weblogic Server v9.2
I'm using Eclipse 3.4 (Ganymede) with the new Enterprise Pack for Eclipse. When I try to create a New Server Runtime Environment for Weblogic 9.2, I get the following error:
"RE is selected, but the path is invalid."
The path is D:\export\webapps\sbea\weblogic92 which is correct because I successfully used that with Eclipse 3.3 with BEA Weblogic Weblogic 9.2 runtime that you could access from Eclipse 3.3.I was able to fix this by uninstalling all BEA products and re-installing WLS 9.2M1.
-
Welcome to the BEA WebLogic Server Version 6.0 Beta Program!
Welcome to the BEA WebLogic Server Version 6.0 Beta Program!
We are very excited about this beta program and appreciate your
participation. In the past, our public betas have been very well received
by our developer community. So, we have once again organized a public beta
program to enable everyone to preview our latest release.
We do ask that you follow a few guidelines:
-- There will be no voice, e-mail, or fax support for this beta through the
technical support organization. All questions, bug reports, or comments on
the beta program should be directed to to the WebLogic beta newsgroups at
news://newsgroups.bea.com. These newsgroups are:
weblogic.developer.interest.60beta.transaction
weblogic.support.install.60beta
weblogic.developer.interest.60beta.ejb
weblogic.developer.interest.60beta.clustering
weblogic.developer.interest.60beta.security
weblogic.developer.interest.60beta.jdbc
weblogic.developer.interest.60beta.jms
weblogic.developer.interest.60beta.performance
weblogic.developer.interest.60beta.misc
weblogic.developer.interest.60beta.servlet
weblogic.developer.interest.60beta.jsp
weblogic.developer.interest.60beta.tools
weblogic.developer.interest.60beta.rmi-iiop
weblogic.developer.interest.60beta.management
weblogic.developer.interest.60beta.management.console
weblogic.developer.interest.60beta.management.general_and_jmx
weblogic.developer.interest.60beta.internationalization
weblogic.developer.interest.60beta.xml
weblogic.developer.interest.60beta.jndi
weblogic.developer.interest.60beta.documentation
weblogic.developer.interest.60beta.javamail
-- Please remember that this release is currently beta code. This means that
it should not be put into production deployments until the final release
occurs.
-- It is very likely that this release will contain bugs and errors. This is
the nature of beta code. Please the patient with us as we do our best to fix
any problems that we find. We will do our absolute best to make sure that
your issues are addressed as soon as possible.
-- Please do not post any issues relevant to the beta on the standard
newsgroups also available at news://newsgroups.bea.com.
-- Please use the newsgroup for all communication and do not contact any BEA
employees directly. They have been instructed to direct you to comment only
via the newsgroup.
-- Please review previous posts in the newsgroups before posting. If you
locate a bug or need to ask a question, it is very likely that it will have
been asked before.
-- Please do not post on the newsgroup using hostile or profane language.
Inappropriate posts will be removed and offenders will be blocked from the
beta program.
Thank you again for your support and participation. We very much appreciate
all that you will be doing to make this release of the BEA WebLogic Server
as great as possible.
Michael Girdley
BEA Systems IncWelcome to the BEA WebLogic Server Version 6.0 Beta Program!
We are very excited about this beta program and appreciate your
participation. In the past, our public betas have been very well received
by our developer community. So, we have once again organized a public beta
program to enable everyone to preview our latest release.
We do ask that you follow a few guidelines:
-- There will be no voice, e-mail, or fax support for this beta through the
technical support organization. All questions, bug reports, or comments on
the beta program should be directed to to the WebLogic beta newsgroups at
news://newsgroups.bea.com. These newsgroups are:
weblogic.developer.interest.60beta.transaction
weblogic.support.install.60beta
weblogic.developer.interest.60beta.ejb
weblogic.developer.interest.60beta.clustering
weblogic.developer.interest.60beta.security
weblogic.developer.interest.60beta.jdbc
weblogic.developer.interest.60beta.jms
weblogic.developer.interest.60beta.performance
weblogic.developer.interest.60beta.misc
weblogic.developer.interest.60beta.servlet
weblogic.developer.interest.60beta.jsp
weblogic.developer.interest.60beta.tools
weblogic.developer.interest.60beta.rmi-iiop
weblogic.developer.interest.60beta.management
weblogic.developer.interest.60beta.management.console
weblogic.developer.interest.60beta.management.general_and_jmx
weblogic.developer.interest.60beta.internationalization
weblogic.developer.interest.60beta.xml
weblogic.developer.interest.60beta.jndi
weblogic.developer.interest.60beta.documentation
weblogic.developer.interest.60beta.javamail
-- Please remember that this release is currently beta code. This means that
it should not be put into production deployments until the final release
occurs.
-- It is very likely that this release will contain bugs and errors. This is
the nature of beta code. Please the patient with us as we do our best to fix
any problems that we find. We will do our absolute best to make sure that
your issues are addressed as soon as possible.
-- Please do not post any issues relevant to the beta on the standard
newsgroups also available at news://newsgroups.bea.com.
-- Please use the newsgroup for all communication and do not contact any BEA
employees directly. They have been instructed to direct you to comment only
via the newsgroup.
-- Please review previous posts in the newsgroups before posting. If you
locate a bug or need to ask a question, it is very likely that it will have
been asked before.
-- Please do not post on the newsgroup using hostile or profane language.
Inappropriate posts will be removed and offenders will be blocked from the
beta program.
Thank you again for your support and participation. We very much appreciate
all that you will be doing to make this release of the BEA WebLogic Server
as great as possible.
Michael Girdley
BEA Systems Inc
Maybe you are looking for
-
In Lion Mail is there a way to keep the messages from appearing?
Sometimes I get unsavory images in my Mail that I don't particularly want my children to see if they happen to check the Mail. The Junk filter doesn't necessarily catch all of them. With the new Mail, the images show up when the message is selected,
-
Question About Using iPhone as Landline
My wife and I have had iPhones for about six months and love them. We've noticed that everyone is calling us on our iPhones, so we'd like to cancel our land lines. The problem is with hearing the ring. It's certain that I'm not going to be where the
-
Problem with FileNotFoundException
Hi. Sometimes in my application i have problems with FileNotFoundException, but file which i want to open exists. In the documentation I found that:"It will also be thrown by these constructors if the file does exist but for some reason is inaccessib
-
Macbook Pro (Late 2011 model issue)
I purchased my Macbook pro (late 2011 Model) a couple of months back, towards the end of last year. Staright after i had purchased it, and had got it delivered i experienced cracking and clicking noises coming from within the Hinge of the Macbook. An
-
hey there, i'm getting a bluray iso from my post house. But i want to create a menu with extras and subtitles and all that stuff in Encore, is it possible to use that iso as a video inside of my menu? thanks for your help