BEA Logo BEA WebLogic Server Release 6.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

  |  

  WebLogic Server Doc Home   |     FAQ   |   Previous Topic   |   Next Topic   |   Contents   |   View as PDF

BEA WebLogic Server Frequently Asked Questions

 

 

FAQs: Administration and Configuration

What are safeguards for modifying the config.xml file?

How do I edit the config.xml file?

 

FAQs: Applets

What are the alternatives to using applets?

Can I use a "native" two-tier driver for a browser applet?

Why doesn't my browser applet connect to the database?

Why does my applet work with Appletviewer, but not with a browser?

What's causing ClassFormatErrors with my applet?

 

FAQs: Clustering

How do stubs work in a WebLogic Server cluster?

What happens when a failure occurs and the stub cannot connect to a WebLogic Server instance?

How does a server know when another server is unavailable?

How are notifications made when a server is added to a cluster?

How do clients learn about new WebLogic Server instances?

How do clients handle DNS requests to failed servers?

How many WebLogic Servers can I have on a multi-cpu machine?

Should I use a separate network for multicast in a cluster?

What should I do if my cluster "hangs" or "freezes"?

 

FAQs: Code Examples

Where are the examples located?

Why won't the examples work?

How do I use the Cloudscape evaluation version with WebLogic?

Are the build.cmd and the build.sh scripts still being used?

How do I use ANT?

 

FAQs: dbKona

How are JDBC and dbKona related?

Does dbKona use vendor-specific native libraries to communicate with a remote DBMS?

How does performance compare between dbKona and raw SQL through JDBC?

What happens to a dbKona TableDataSet when I save changes?

 

FAQs: EJB

Why did my JDBC code throw a rollback SQLException?

Must my bean-managed persistence mechanism use the WebLogic JTS driver?

Why is there no polymorphic-type response from a create() or find() method?

Must EJBs be homogeneously deployed across a cluster? Why?

 

FAQs: Installation

What platforms are available for WebLogic Server 6.1?

How do I download and install WebLogicServer 6.0 for Compaq Tru64 Unix using the WinZip file?

I downloaded the WebLogic Server installation file, but the installation program will not run. What should I do?

 

FAQs: Java

Can you help me debug my program?

Where can I get help learning Java?

Where do I get the JDK?

How do I set up my CLASSPATH?

Why won't the examples work?

Where can I get help with Java error messages?

Why did a client-server message generate a StackOverflowException?

Will a JIT make my Java application run faster?

Can I redistribute the JDK that is bundled with WebLogic Server?

 

FAQs: J2EE Connector Architecture

Why do I get the following exception when viewing the JNDI tree?

Is it possible to use the Oracle database rather than Cloudscape with the current implementation of the WebLogic J2EE Connector Architecture?

When deploying a resource adapter (.rar) to WebLogic Server, are its classes placed in the WebLogic classpath?

Why does WebLogic Server invoke the ManagedConnection.addConnectionEventListener() function whenever the sample EJB calls ConnectionFactory.getConnection() to connect to the EIS?

Why do I get an exception when I compile my EJB to use a Resource Adapter that supports CCI?

How is security handled in the WebLogic J2EE Connector Architecture?

The BEA com.bea.adapter.dbms.cci.ConnectionImpl does not directly implement javax.resource.cci.Connection. Is there a work-around for this?

 

FAQs: WebLogic JDBC

Can I enable requests to a JDBC connection pool for a database connection to wait until a connection is available?

How can I avoid ResourceExceptions when sending more requests for database connections from the pool than are currently available?

When should I use MultiPools?

How can I tell if a database is unavailable?

 

FAQs: WebLogic jDriver for Informix

How do I use multibyte character sets with WebLogic jDriver for Informix?

How do I allow multiuser access to my Informix database?

 

FAQs: WebLogic jDriver for MSSQL Server

Can the Weblogic JDriver for MSSSQL Server connect to the database server using a trusted connection on NT/WIN2K?

How do I connect to an SQL Server instance that is running on a machine with multiple instances of SQL Server 2000?

 

FAQs: WebLogic jDriver for Oracle

Why does FOR UPDATE in Oracle 8 cause an ORA-01002 error?

What causes an OCIW32.dll error?

What transaction isolation levels does the WebLogic jDriver for Oracle support?

How do I use Unicode codesets with the WebLogic jDriver for Oracle driver?

How do I use OS Authentication with WebLogic jDriver for Oracle and Connection Pools?

What type of object is returned by ResultSet.getObject()?

How do I limit the number of Oracle database connections generated by WebLogic Server?

How do I call Oracle stored procedures that take no parameters?

How do I bind string values in a PreparedStatement?

Why do I get unexpected characters from 8-bit character sets in WebLogic jDriver for Oracle?

How do I learn what codesets are available in Oracle?

How do I look up an "ORA" SQLException?

What is error "ORA-6502?"

Why do I get an error while trying to retrieve the text for ORA-12705?

Why do I run out of resources during updates with Oracle's database link?

How do I prevent errors when running t3dbping?

Why do I get error "ORA-03120" when trying to access multi-byte characters from the CLOB/NCLOB column?

Why does executing the PreparedStatement class cause a "TRUNC fails: ORA-00932: inconsistent datatypes" error?

Why am I getting an "ORA-01000: maximum open cursors exceeded" error, even though I closed all ResultSet, Statement, and Connection objects?

 

FAQs: JMS

What makes WebLogic JMS unique?

What JMS features are new in WLS 6.1?

Can WLS 5.X JMS clients talk to WLS 6.X or vice versa?

Are there C/C++ interfaces to WLS JMS?

Is there a smaller version of weblogic.jar for supporting clients?

Where can I learn more about JMS?

How do I start WLS and configure JMS?

How do I configure JMS security?

Can I still use the default connection factories supported in WebLogic Release 5.1?

Why does JMSSession.createTopic or JMSSession.createQueue fail to create a destination in WLS JMS 6.1 (it worked in 5.1)?

How do I programmatically get a list of Queues or Topics?

How do I use a temporary destination?

How do I use MBeans to print runtime statistics?

Can two JMS servers share the same persistent store?

Which types of JDBC databases does WebLogic JMS support?

How do I use a third-party JDBC driver with JMS?

What if my JDBC database becomes corrupt?

How do I use persistence?

How does a file store compare with a JDBC store?

How do the WLS JMS 6.1 server/destination message maximum and threshold values work?

How do I configure JDBC so that the JMS JDBC Store recovers automatically?

Does WebLogic JMS support clustering?

How can I control on which WebLogic Server(s) my application will run?

What is the value of JMS clustering in WLS 6.1?

How do I perform a manual fail-over?

Does the WLS JMS server find out about closed or lost connections, crashes, and other problems and does it recover from them?

Do I need to use the WLS T3 protocol?

How do I do HTTP tunneling?

Does WLS JMS support SSL?

How do I integrate non-WLS JMS providers with WLS?

How do two-phase or global transactions relate to WebLogic JMS?

Why is my JMS work not part of a user transaction (i.e., called within a transaction but not rolled back appropriately)? How do I track down transaction problems?

How can an application do a JMS operation and have it succeed, independent of the result of the transaction?

What happens if acknowledge() is called within a transaction?

Why do I get an error when using a non-transacted TopicSession from a transaction-required EJB?

Can I use a one-phase commit if my JMS JDBC store is on the same database for which I am doing other database work?

How do I integrate an XAResource with WLS to get JTA transactions with another resource manager?

Why do I get an exception when I start up JMS using an XA driver or with a TX data source?

Is WLS JMS XAResource compliant?

Why can't I receive a message that I send within a container-managed transaction?

What happens to a message that is rolled back or recovered?

Is it possible to set aside a message and acknowledge it later?

How should I use sorted queues?

How does sorting on message priority work?

How do I deal with a listener that doesn't keep up with messages being sent?

How do I get a thread dump to help track down a problem?

Do client identifiers need to be unique?

Are messages passed by copy/value or reference?

How do I manage a queue to view and delete specific messages?

How do I close a queue so that the messages will not be reloaded at the next server startup?

Why does an Object Message print as null after it is received?

In what order are messages delivered to a consumer?

Why do I get an exception when trying to find a connection factory?

Why should I avoid using message selectors?

Is it possible to have multiple queue receivers listening on the same queue, using message selectors (typically filtering on a correlation ID) to determine which listener actually receives the message?

Is there a way to make a queue such that if one application has one object as listener on that queue, no other application can listen to the messages on that queue?

Why doesn't setting values work using javax.jms.Message.setJMSPriority, DeliveryMode, Destination, TimeStamp or Expiration?

What care must be taken when multi-threading JMS clients?

How should an application be set up to subscribe to multiple topics?

How should I use blocking and asynchronous receive() calls?

What precautions should I take when I use blocking receive() calls?

What is the NO_ACKNOWLEDGE acknowledge mode used for?

When should I use multicast subscribers?

When should I use server session pools and connection consumers?

How do I issue the close() method within an onMessage() method call and what are the semantics of the close() method?

How do I publish an XML message?

How do I use JMS in an applet?

How do I use a startup class to initialize and later reference JMS objects?

Is it possible to send or receive a message from within a message listener?

How do I create a producer pool?

What are pending messages in the console?

How do I use a less than or greater than on a message selector in ejb-jar.xml?

Is it better to have more or fewer sessions for a given number of subscribers?

Are foreign destinations handled within foreign JMS messages?

What is the standard way to create threads, do initialization, etc. within the application server?

Why do I get a JNDI problem when I name a Topic A.B and a second Topic A.B.C?

How many messages are sent across the network for processing topic messages?

What should an XPATH selector look like?

How do I handle request/response using JMS?

How do I put a message back on the queue for processing?

Is it OK to add new sessions and subscribers to a Queue or Topic Connection once it has been started?

What can I do when I get java.lang.OutOfMemoryError because producers are faster than consumers?

Why have different connection factories?

How should connections and sessions be allocated?

How does an application know if an application server goes down?

How do I debug WebLogic Server using Visual Cafe 4.1?

Is there a way to dynamically change an existing selector for a TopicConsumer using setMessageSelect(String s)?

How can I avoid asynchronous message deadlocks?

What are the advantages of message-driven beans?

How does concurrency work for message-driven beans?

How do I use non-WebLogic JMS provider destinations to drive MDBs?

Can an MDB be a message producer or both a producer and consumer?

If an MDB uses a durable subscription, will messages be accumulated if the MDB is not deployed?

Can you use a foreign JMS provider to drive an MDB transactionally?

How do I use JTA transactions within an MDB?

How do server session pools and message driven beans compare?

 

FAQs: WebLogic Messaging Bridge

Why did the messaging bridge fail to connect to the source bridge destination?

Can the messaging bridge handle two-phase or global transactions between separate WebLogic Server domains or between different releases?

I configured the messaging bridge to use the Exactly-once quality of service for two-phase transactions. So why am I getting a "quality of service is unreachable" error?

Can I configure the messaging bridge to automatically downgrade the quality of service if the Exactly-once service isn't available on either the source or target bridge destination?

Why do I get a security authorization exception when attempting to forward messages from a WebLogic Server 6.1 destination to a release 7.0 or later destination?

I deployed the transactional jms-xa-adp.rar resource adapter on the WebLogic 6.1 domain where the message bridge is running, but I still get a "failed to find bridge adapter" message?

When configuring a source or target messaging bridge destination, do I need to set the Adapter Classpath field?

Can the messaging bridge forward durable subscription messages between separate WebLogic Server 6.1 and release 7.0 or later domains?

How do I enable debugging for the messaging bridge?

What do the messaging bridge monitoring states indicate on the Server -> Services ->Monitor -> Messaging Bridge Administration Console page?

Is there another way to monitor the messaging bridge without using the Administration Console?

 

FAQs: JTA

Can I use a non-XA driver in distributed transactions?

Can I use more than one non-XA connection pool in distributed transactions?

How do XA and non-XA drivers differ in distributed transactions?

What XA drivers can I use in addition to the WebLogic jDriver for Oracle/XA?

Can I use the Oracle thin driver as an XA driver in distributed transactions?

Why do I get SQLException "Result set already closed" message?

Do I need a 2PC licence when I use JMS with one JDBC non-XA driver?

Why am I getting an exception when I use JMS with a non-XA driver?

Why do I get an exception when I use EJB CMP 1.1?

Why do I get an exception when I use EJB CMP 1.1 with XA connection pools?

Can I obtain a JDBC connection before I start a distributed transaction?

Can I close a JDBC connection after the distributed transaction is committed or rolled back?

I get the following XAER_RMFAIL XAException when accessing an XAResource: "Internal error: XAResource '<name>' is unavailable". What does that mean? How should I handle it?

 

FAQs: Plug-In

How does the plug-in work?

How does the plug-in route the request for a sticky session?

What is new for debugging a plug-in in WebLogic Server 6.0?

What is expected in the wlproxy.log?

What has changed in the 6.1 plug-in?

What is static list, dynamic list, and general list?

Does the 6.1 plug-in support two-way SSL?

Sometimes a reponse from WebLogic Server to the plug-in contains the Set-Cookie header. Is this normal?

If I install mod_wl_ssl.so with mod_perl to Apache 1.3.19, why does Segmentation Fault (11) occur in mod_wl_ssl.so when I access WebLogic via the plug-in?

How do I protect WebLogic Server from security attacks from bogus clients using the WL-Proxy-Client-Cert header?

 

FAQs: Server-Related Questions

What should I do if my server "hangs" or "freezes"?

How do I configure WebLogic to use a SOCKS proxy?

How can I speed up connection responses?

How does WebLogic support CORBA and client communication via IIOP?

How do I speed up HTTP tunneling?

Can WebLogic Server start with a UNIX boot?

What affects servlet performance besides clients and traffic?

Why do I get "NoClassDefFound"/"Too Many Open files"messages on Solaris?

How do I increase WebLogic Server memory?

What causes Java.io exceptions in the log file?

Java-CORBA integration: RMI-IIOP or Java IDL?

How do an RMI-IIOP application and an existing CORBA object interoperate?

What is the function of T3 in WebLogic Server?

How can I debug the Java code that I have running in WebLogic Server?

 

FAQs: Server-Side Java (Servlets)

How do I call a servlet with parameters in the URL?

How can I run multiple instances of the same servlet class in the same WebLogic Server instance?

How do I deserialize an httpsession?

 

FAQs: Security

How can I update my demonstration digital certificates and trusted CAs?

Why does the servlet return "no certificate"?

Does WebLogic support Diffie-Hellman or DSS/DSA digital certificates?

Can the server have one RSA and one non-RSA certificate?

Must we pay RSA licensing costs for non-RSA client code?

How do I use Netscape security certificates with WebLogic Server?

How do I restrict access to servlets and JSPs?

Can I use RSA encryption algorithms and javax.crypto.* API to build applications?

Can I use a JNDI Initial Context to pass the security credentials of a WebLogic Server user?

Why can't I boot WebLogic Server when using the LDAP Security Realm?

Are WebLogic Server passwords secure?

Why do I get this error <Alert> <WebLogicServer> <Security> configuration problem with certificate file when I start my server?

Why can't I establish an outbound SSL connection when using the demonstration certificates?

Why do I get the error, <WebLogic Server> <SSLListenThread listening on port 8802> Failed to connect to t3s://localhost:8802, when establishing an SSL connection to WebLogic Server?

How do I protect WebLogic Server from security attacks from bogus clients using the WL-Proxy-Client-Cert header?

 

FAQs: Web Services

Does WebLogic Server 6.1 support SOAP Messages with Attachments?

Does WebLogic Server 6.1 support SOAP?

Are Microsoft SOAP Toolkit and .NET supported in WebLogic Server 6.1?

Can I use Version 6.1 of the WebLogic Web Services Client API in a WebLogic Server 6.0 component?

What interoperability issues should I be aware of with 6.1 WebLogic Web services?

 

FAQs: Wireless-Related Questions

What is a wireless (mobile) device?

Can WebLogic Server support wireless devices?

What should I consider when writing an application for wireless devices?

What is WAP and what is i-Mode?

Will my solution work on different networks such as CDMA, GPRS, TDMA and PDC-P?

What changes do I need to consider for 3G wireless networks?

 

FAQs: XML

Which XML parser comes with WebLogic Server 6.1?

Is an XSLT processor bundled in WebLogic Server?

What version of the JAXP API specification is implemented in WebLogic Server 6.1?

Can I use the getAttribute() and setAttribute() methods of Version 2.2 of the Java Servlet API to parse XML documents?

Can I plug in a version of Apache's Xerces XML parser that is different to the one that is built-in with WebLogic Serve 6.1 (Xerces 1.3.1)?

I plugged in a version of Apache Xalan that I downloaded from the Apache Web site, and now I get errors when I try to transform documents. What is the problem?

How do I identify the document type of an XML document?

 

back to top   next page