|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Features Deploying PowerBuilder Components to JBoss
A walkthrough
By: Bruce Armstrong
Feb. 24, 2006 01:45 PM
The PowerBuilder Application Server Plugin (PASP) is a new product offering from Sybase. It's currently in beta as part of the EAServer 6.0 beta; however, when released it will be distributed as a separate product. The PASP allows PowerBuilder developers to deploy PowerBuilder components to third-party application servers (JBoss, WebSphere, WebLogic, etc.), much the same as they can with EAServer today. This is of particular importance in companies that have already standardized on a non-EAServer application server.
The method used to configure each application server that you want to deploy to is highly dependant on the target application server. As a result, we are doing a series of articles on setting up each different application server. This particular article looks at deploying a sample component that provides simple database access to JBoss. Note: This article was originally written late in the beta for the product, therefore the actual implementation is subject to change before the product is officially released, and some of this information may become dated.
Install JBoss Note the location where you have installed it because you'll use that information during the configuration step. For this particular walkthrough, I've installed JBoss in the following location: C:\Program Files\jboss-4.0.3
Install PASP C:\Program Files\Sybase\EAServer6\pb-server There are three subdirectories of that directory that are of the most interest with regard to configuring and troubleshooting the PASP. The "bin" subdirectory contains a number of batch files that are used to configure the PASP. The "config" subdirectory contains a number of XML files that contain the actual configuration details for the server. Finally, the "logs" subdirectory contains the log files for the server (and, if used, the proxy server) that are useful for troubleshooting.
Set Environmental Variables c:\Program Files\Sybase\EAServer6\pb-server\lib It also needs to include the directory where the PB runtime files are located. For example: C:\Program Files\Sybase\Shared\PowerBuilder
CLASSPATH C:\Program Files\Sybase\PBServer\lib\pb-server.jar
JAGUAR C:\Program Files\Sybase\EAServer6\pb-server
JAGSSL
PB_SERVER_HOME C:\Program Files\Sybase\EAServer6\pb-server
Set the Admin Password
Edit the Configuration XML File
PB-SERVER.XML <property name="iiopListeners" value="iiop://localhost:9000"/>
PB-SERVER-JBOSS.XML <property name="ejb-client:java.naming.provider.url" value="jnp://localhost:1099"/> Reader Feedback: Page 1 of 1
Your Feedback
Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
Breaking Cloud Computing News
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||