weblogic 1 « weblogic « Java Enterprise Q&A





1. Failure of server APACHE bridge with Weblogic Server    stackoverflow.com

I am getting the following error when I am trying to upload the file using IE7: Failure of server APACHE bridge: No Backend Sever available for connections": timed out after 10 seconds or ...

2. Weblogic server: Why response sent prior to post completion    stackoverflow.com

When analyzing traffic with a packet sniffer, we are seeing an http response from a weblogic server prior to the completion of the http post to that server. In this case, the ...

3. Does Weblogic 9.2 support Sun Jdk 1.6?    stackoverflow.com

Does anyone have experience running Weblogic 9.2 on JDK 1.6? I am having trouble finding that information on Oracle site. In the Supported Configurations page they just mention Sun ...

4. Best Way to Launch External Process from Java Web-Service?    stackoverflow.com

I've inherited a Java web-services code-base (BEA/Oracle Weblogic) and need to start/launch an external background application from a web-service. I've already tried:

ProcessBuilder pb = new ProcessBuilder(arg);
pb.start();
as well as:
Runtime.exec(cmdString);
But am experiencing strange behaviors ...

5. How do I make Weblogic 8.1 serve static content?    stackoverflow.com

I come from the Open source world where I'm used to having Apache serve up my images, css, javascript, etc., while Tomcat or an app server of its ilk handles all ...

6. How do I integrate JNI code into weblogic?    stackoverflow.com

I am writing an application which will be deployed in weblogic. As part of this application, we are using a third party library which uses JNI. How do I make the ...

7. Running batchprocesses in Bea Weblogic    stackoverflow.com

We currently have batchjobs in Java that proces mulitple (sometimes large) files. These jobs can take some time to run. We run these files directly in the JVM, using Java Threads that ...

8. Weblogic - how to bring server down for maintenance?    stackoverflow.com

I need to bring down a server in Weblogic 10.3 (which will have only one application deployment) and display a "Under Maintenance" page when the user requests the application. Is there a ...

9. Understanding MQ Series bindings files    stackoverflow.com

Our Java app writes to MQ Series queues via a Weblogic JMS Message Bridge. The actual MQ Series connection/queue details are stored in the MQ Series .bindings file on the ...





10. What are the common dependencies of Weblogic 8.1.6    stackoverflow.com

We still have to use Weblogic 8.1.6. There are some libraries packaged with the server, in common/lib but unfortunately there is only a 3rdparty.jar inside it. The libraries take precedence, so ...

11. Multiple Browser Windows Synchronization    stackoverflow.com

I am trying to create an inline chat. The problem arrives when two windows of my site are open. Because then my script sends the new message to the the window ...

12. How do I configure WebLogic 10.3 Web App To Use SAML 2 SSO and Identity Provider?    stackoverflow.com

I have several Web applications all running in WebLogic 10 and I want to authenticate the users using SSO and WebLogic's built-in SAML 2 SSO support.
I configured a SAML2IdentityAsserter on ...

13. How to use common libraries for multiple Java web project    stackoverflow.com

I am having four different project, and i am using Weblogic to deploy my projects. There are several libraries ( jar files ) which are common for all projects. Currently each ...

14. weblogic startup problem    stackoverflow.com

hi i am using weblogic 8.1 with myeclipse 6.0 when i am trying to run weblogic server it asking for config.xml in mydomain directory and i am trying to boot ...

15. Weblogic Bea 10.0 M1 and WorkManager    stackoverflow.com

I have to execute long running threads in a WebLogic Bea 10.0 M1 server environment. I tried to use WorkManagers for this. Using an own WorkManager allows me to specify my ...

16. How to get the Associate HttpSession per Channel Weblogic Publish-Subscribe Server    stackoverflow.com

im using Weblogic 10.3 Publish-Subscribe Server (PubServer) in order to create Comet application. http://e-docs.bea.com/wls/docs103/webapp/pubsub.html We are utilizing JMS Message system to support Clustered environment, and everything works great and as expected, ...





17. WebLogic XML External Entity Resolution: Is there another way besides using the XML Registry?    stackoverflow.com

We have an application that uses SiteMesh, and when WebLogic tries to parse the TLD files, it sees the DOCTYPE specification, containing the reference to the TLD DTD, at "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd". The server ...

18. Does anyone know a good T3 (weblogic) source?    stackoverflow.com

I have just started working using weblogic protocol - T3 and I am really having a rough time finding good info over the internet. Do you know any source/examples/books? Any help would ...

19. Does Weblogic 8.1 work with MS SQL Server 2008?    stackoverflow.com

Weblogic documentation indicates that version 8.1 of Weblogic Supports MS SQL 2000 and MS SQL 2005. Has anyone used weblogic 8.1 with MS SQL 2008 ? If so, any "ifs" and ...

20. How to make WebLogic use all the processors on a multi processor machine    stackoverflow.com

We noticed a peculiar behavior with Java/Web Logic on one of our multi-processor servers, yesterday, so wanted to get your thoughts on it. For some reason, Web Logic/Java use only one processor ...

21. Sun T5440: Weblogic start take too long    stackoverflow.com

We are using weblogic 10.1 on T5440 servers but the start time takes too long as compared with V890 servers. But after start the cpu performance is excellent. For example weblogic server ...

22. Where will WebLogic look for files by default?    stackoverflow.com

I have a web application deployed in WebLogic. In one of my java file, I tried to read PleaseNote.txt as following:

File file = new File("PleaseNote.txt");
Now WebLogic is taking PleaseNote.txt from its ...

23. How do you configure WorkManagers in WebLogic 10.3?    stackoverflow.com

I would like to use a WorkManager to schedule some parallel jobs on a WebLogic 10.3 app server. http://java.sun.com/javaee/5/docs/api/javax/resource/spi/work/WorkManager.html I'm finding the Oracle/BEA documentation a bit fragmented and hard to follow ...

24. Practical usage of the T3 File Service    stackoverflow.com

In the BEA WLS console, it's possible to define "T3 File Service". After googling about it, I was unable any practical info. Is it something useful ? EDIT: Deprecated since 6.1 ... a ...

25. lost update issue    stackoverflow.com

on my server is a weblogic cluster ejb2 application. There is this table in the DB where other users will concurrently create, update and delete. On my clients machines is a ...

26. Weblogic 10.3.1 gives 'Dependency injection failure' warning when publishing code    stackoverflow.com

Weblogic 10.3.1 gives me a "Dependency injection failure" when I publish my code; the publish itself succeeds. I am working via Eclipse. Basically I publish an ear with a web service ...

27. Encrypting SALTEDHASHED weblogic password in java    stackoverflow.com

How to encrypt SALTEDHASHED password (used by Weblogic) in java? I need to be able to hash passwords in exactly the same way as WebLogic's authenticator does. Preferably without using WebLogic's library. 30 ...

28. Can I use getSkinPath for an image that is hosted outside of the app server?    stackoverflow.com

I am working on a Weblogic application with a lot of image files. The application is accessed through a proxy server. As a performance improvement, we are moving all the static ...

29. Help creating selective IF statement    stackoverflow.com

I have this code that sends a text message to your mobile phone...

$text = fopen("../data/textmembers/registry.txt","r") or die("couldent open file");

while (!feof($text)) {
$name = fgets($text);
$number = fgets($text);
$carrier = fgets($text);
$date = fgets($text);
$line = fgets($text);


$content ...

30. Weblogic server level workmanager not being used    stackoverflow.com

I have defined a work manager (Global Workmanager) which has targets as managed servers. When an ear application (containing many ejbs) is deployed on the server and the ejbs are invoked, it ...

31. ruleML - benefits/bad points?    stackoverflow.com

I'm currently looking into ruleML and I was wondering if maybe someone could give me a short list of advantages and disadvantages about it? Thanks

32. weblogic 10.3 custom authenticator    stackoverflow.com

we are migrating weblogic from 8.1 to 10.3. We had custom authenticator provider. Is there any standard way to migrate custom authenticator from 8.1 to 10.3? In fact, I could not ...

33. Weblogic server 10.0 - Managed Server shutting down    stackoverflow.com

We have a weblogic server 10.0 instance which has a cluster with one managed server. Every Monday at 5am (or few seconds after), it shuts down on its own. The logs ...

34. How to force Weblogic to start deployments in active state (i.e. not just prepared)    stackoverflow.com

When I start a Weblogic instance with a deployed application, the deployment is sometimes left in prepared state, not in active state. I have to go to Weblogic Console and ...

35. How can I embed Weblogic server in java?    stackoverflow.com

I am searching any way for embedding Weblogic server in Java , I know its possible because we have maven plugins for Weblogic which embeds Weblogic in maven, But googling for ...

36. Is it possible to make WebLogic check REDEPLOY file more often?    stackoverflow.com

[sorry for apparent shouting in the title, it's just that the file is named in all uppercase] Given advice in http://stackoverflow.com/questions/2695124 I successfully implemented and have been using autodeployment in WebLogic. ...

37. How do I get access to Weblogic's properties in Java code    stackoverflow.com

Is it possible in Java code (ejb) to read (some of) Weblogic's internal configuration properties, like: Domain name, Domain home, Admin Server name, Port number, Server name, Host name, Config version, Weblogic ...

38. Options For A Common Service in Weblogic    stackoverflow.com

I am working on a weblogic application farm that is hosting a few dozen applications. I would like to build a common application that will do lookups from a database. I ...

39. ValidationException class version mismatch    stackoverflow.com

I have a simple EJB application that I can deploy and test on a local WebLogic instance (v10.3.0.0) without problems. I need to deploy this on a remote WL server (v10.3.3.0), ...

40. Weblogic server lib VS instance libext    stackoverflow.com

I use weblogic 10. Its provide an Oracle JDBC driver 10.2.0.2 (in the server/lib on weblogic home). Actually someone at work put a long time ago a 10.2.0.3 driver in instance libext folder. But ...

41. Internet Explorer buggy when accessing a custom weblogic provider    stackoverflow.com

I've created a custom Weblogic Security Authentication Provider on version 10.3 that includes a custom login module to validate users. As part of the provider, I've implemented the ServletAuthenticationFilter and added ...

42. Getting the URL of the Calling Application    stackoverflow.com

When using JAX-RS is there a way of getting information about who is calling the webservice? Can we get the ip or url of the calling application? If so how do ...

43. Weblogic 11g and JavaEE 6    stackoverflow.com

I was wondering if Weblogic 11g already supports JavaEE 6. As I didn't find anything about it in google, I thought that it didn't, until I found a comment saying that ...

44. Cannot Start Weblogic Managed Server,    stackoverflow.com

We are running Weblogic 7sp6. We have a working single node cluster with an Admin and two Managed servers. We are re-creating a 2nd standalone cluster on a 2nd ...

45. Downloading application from weblogic server    stackoverflow.com


I have requirement for testing a j2ee application which is deployed in a weblogic server. I have to get the ear add my testclasses into that and depoly it back.
...

46. Get OracleXADataSource using InitialContext    stackoverflow.com

i'm developing an application running on WebLogic 10 and of course in java. Ok, the thing is that i'm using oracle.jdbc.xa.client.OracleXADataSource to manage the transactions, and i'm also trying to set the ...

47. Can multiple projects have the same context-root?    stackoverflow.com

I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem ...

48. Building Tuxedo Adapter for Weblogic    stackoverflow.com

We are trying to build a Tuxedo adapter in Weblogic 11g to connect to Tuxedo 6.5. Does anyone know any good tutorial out there that can show us how to do ...

49. weblogic datasource automatically getting deleted    stackoverflow.com

I do have a cluster with four managed servers with datasources created in the nodes. How would a datasource in some of the managed servers in a weblogic cluster get deleted ...

50. Using XQuery implementation of WebLogic    stackoverflow.com

I planning to using XQuery in J2EE web application running on WebLogic 11g. I know WebLogic has XQuery implementation but couldn't find any link on how to use them. I am ...

51. MQ With WLS Foreign Server    stackoverflow.com

I am facing two issues when i try to connect to MQ which is deployed on a Remote Server from Weblogic Server(WLS) by creating a Foreign Server. 1. When I try to ...

52. OSB WLS Initialisation issue    stackoverflow.com

facing some strange behavior in OSB, i have configured WLS with MQ in client mode, i am doing some minor test to check the connection, i have created a proxy service ...

53. From java object to xml object    stackoverflow.com

I've created a web service client from a WSDL file with Axis. This webservice responses with an Axis object that I need to convert to com.bea.xml.XmlObjet. The reverse operation (XmlObject to ...

54. Possible effects of writing large byte arrays to an output stream?    stackoverflow.com

private static void writeData( byte[] file, HttpServletResponse response )
    throws IOException
{
    ....
    // Send the data
    response.setContentLength(file.length);
   ...

55. Weblogic and BOM    stackoverflow.com

We have web application with static content - html files, js files, images, etc.
There are byte order mark at the beginning of all html files.
These files were genereted by some tool. ...

56. Weblogic No unique bean of type [javax.persistence.EntityManager]    stackoverflow.com

I am new to EJB3 and working on an exisitng code. We are using weblogic10.3 and the below code works fine

@Stateless(mappedName="ProcessIssacIncomingMessage")
@TransactionManagement(value=TransactionManagementType.CONTAINER)
@TransactionAttribute(value=TransactionAttributeType.REQUIRED)
@EjbRef(name="Database" jnod-name="Database")

public class IncomingMessageBean implements IncomingMessageRemote, IncomingMessageLocal {
...
@Ejb
private Database<Object> databaseBean;
in 10.3 weblogic.jar ...

57. weblogic managed server autostart    stackoverflow.com

Friends I have configured WebLogic cluster with 2 managed servers and set crashrecoveryenabled to 'true' in nodemanager.properties so that in case of server crash the managed servers can start automatically.The Node manager ...

58. NPE in java.util.LinkedList addBefore method    stackoverflow.com

Somehow, I'm getting a null pointer exception here with JDK 1.6.0_14:

HttpSession session = request.getSession(true);
LinkedList<MyObject> list = (LinkedList<MyObject>) session.getAttribute(MY_LIST_KEY);
....
list.addFirst( new MyObject(str1, str2, map) );
Then, I get this:
 at java.util.LinkedList.addBefore(LinkedList.java:779)
Here's the method:
private Entry<E> ...

59. What is the purpose of datasync project in weblogic project?    stackoverflow.com

What is the purpose of datasync project in weblogic project? What is *.evt, *.req, *.usr files?

60. Not able to execute java utils.MulticastTest in Weblogic 11G    stackoverflow.com

I know this is very basic but i am frustrated like anything.. i googled and tried everything i could. But i am not able to execute this utility.

java utils.MulticastTest 
I am ...

61. JAVA: SecurityException on ThreadGroup.getParent()    stackoverflow.com

I have some pretty boilerplate Java code that does a while loop with a tg.getParent() to get the root thread group. This has been working for several months on four different ...

62. weblogic tapestry issues    stackoverflow.com

My application using tapestry 4.1.6 jar files deploys correctly in weblogic 10.3.3.0. But at runtime, I am getting NoSuchMethodException from tapestry files.Same application works fine in weblogic 9. Any ideas? java.lang.NoSuchMethodError: org.apache.commons.pool.impl.TapestryKeyedObjectPool.assertOpen()V at ...

63. How configure the HTTP Headers in Weblogic Response    stackoverflow.com

Using Weblogic 11g and want to be able to add headers to all files served up by weblogic. There is no seperate web server sitting in front of weblogic. Cannot find ...

64. invoke a Java program in Apache HTTP Server    stackoverflow.com

Is there any way to invoke a Java program for a particular URL in Apache HTTP Server? Thanks. The architecture is like this: Browser > Apache > WebLogic Application Server. My requirement ...

65. What is Weblogic's frontend host property used for?    stackoverflow.com

It is unclear when it would be useful to set the "frontend host" setting in Weblogic 11g. Can anyone please tell me why I should set this? I do have a ...

66. Why use Unicast versus Multicast in Weblogic Clusters    stackoverflow.com

It's unclear from the documentation why you should use Unicast rather than Multicast in a WebLogic cluster. Anyone have experience using either and the benefits of moving to Unicast?

67. Richfaces and Weblogic 10.3    stackoverflow.com

In my web.xml I have:

 <filter>
  <display-name>RichFaces Filter</display-name>
  <filter-name>richfaces</filter-name>
  <filter-class>org.ajax4jsf.Filter</filter-class>
  <init-param>
   <param-name>enable-cache</param-name>
   <param-value>true</param-value>
  </init-param>

  <init-param>
   <param-name>forceparser</param-name>
   <param-value>false</param-value>
 ...

68. Weblogic managed server    stackoverflow.com

When we start up a managed server on a weblogic intance, the managed server starts up a jvm. Right? So now when we deploy multiple applications (war files, ear files) etc, on ...

69. Weblogic work manager    stackoverflow.com

I am new to weblogic server. I am using work manger. I want to know what is work manager and why we need it. What is the difference between normal request ...

70. How to use JMSControl in Weblogic workshop 10.2    stackoverflow.com

We are using JMSControl in our existing application that running on Weblogic WorkShop 8.1. Now we migrating application to Weblogic WorkShop 10.2. Weblogic WorkShop 10.2 does not support JMSControl using Callback. ...

71. Weblogic server startup    stackoverflow.com

i m using Eclipse WebLogic Plugin for remote debugging. Whenever i try to start the server, it asks for the username and password. Since i will be using the server quite ...

72. Weblogic hangs or crashes    stackoverflow.com

I have a application and if i click on a link, sometimes server hangs on for ever, nothing happens, and sometimes same link crashes the server. Nothing is written on logs, ...

73. Weblogic 10.3.1 redeploy reloading classes    stackoverflow.com

We have a class, Foo, which is a singleton and inherits from Thread. We were having some issues after redeploy where it seemed like 2 of these threads might be running. ...

74. what version of Apache comes with WebLogic 9.2    stackoverflow.com

what version of Apache comes with WebLogic 9.2 (WebLogic Server 9.2 Maintenance Pack 4 (9.2.4.0))

75. Staged Event Driven Architecture - Weblogic    stackoverflow.com

When should I go for Staged Event Driven Architecture ? Do you see any issues in implementing SEDA in weblogic by having multiple Queues/MDBs as stages ? Any insights on disadvantages ...

76. Java Version issue with java applet    stackoverflow.com

I hava Java applet which I'm trying to open in a Windows 7 and Internet Explorer 8 environment with Java 6 by using WebLogic8.1 server. But I'm getting one alert message ...

77. Do Weblogic diagnostic watches run if the server is down?    stackoverflow.com

From what I can tell, the WebLogic watches (the ones that dont run as SNMP agents) get deployed on whatever weblogic server you want monitored. So if the WebLogic server is ...

78. Simple Javascript if statement problem    stackoverflow.com

I'm sure the solution is glaringly obvious, but I've spent an hour faffing about so would really appreciate any help! The following javascript is meant to make a div visiable and another ...

79. Web Filter for Weblogic to catch POST requests    stackoverflow.com

I'm in real an embedded programmer and really very new to weblogic programming so please forgive me for possible epic fail question. I tried to check out web but couldn't find ...

80. How can I access the PlatformMBean server remotely in Weblogic 9.x +?    stackoverflow.com

How can I access the PlatformMBean server remotely in Weblogic 9.x +?

81. weblogic server did not start properly    stackoverflow.com

Whenever running the weblogic server getting the error. :\bea8_1_3\user_projects\domains\snap\snap\config.xml not found No config.xml was found. Would you like the server to create a default configuration and boot? (y/n): y For ...

82. synchronous web request implemented asynchronously in weblogic    stackoverflow.com

My application is primarily an event listener which listens to multiple events from different systems, consolidate them and store them in a meaningful format. It also exposes web-service / HTTP interface ...

83. Does weblogic support CDI Beans?    stackoverflow.com

I started to work with weblogic 11g version 10.3.2.0 Does weblogic support CDI Beans ? Thanks

84. Newbie 'Can you do this with Dojo/Ajax' Question    stackoverflow.com

I have a web page that has a function that will send an initial request to a web service. After some predefined time, the user can send a second request. After the user ...

85. How do I access a file with Weblogic?    stackoverflow.com

I need to access a file for some data in weblogic. I have this in my code,

File file = new File("myfile.csv");
When I run the code I get "File Not Found" error. Where ...

86. How to debug J2EE Application using Weblogic 10.3    stackoverflow.com

I am using Weblogic 10.3 with the J2EE Application. Can anyone please tell me how to debug the application? Thanks in advance ! Alan Master

87. Is there any way to speed up weblogic CMS?    stackoverflow.com

I have users complaining to me that the access to weblogic CMS or usage of the application functionality is very slow. How can i actually determine whether it is the hardware that ...

88. How to get info from java code that the WebLogic AdminConsole is "Locked for Edit"?    stackoverflow.com

Anyone know the way how to get info that the WebLogic AdminConsole is locked for edit? Maybe some MBean... I don't know what else :(

89. Difficulty locating the objects in application mentioned in Java Profiler    stackoverflow.com

I am using YourKit Java profiler for my web application which is hosted on Weblogic. I am investigating a memory leak currently. The profiler shows some quarter million char[] ...

90. Remote start-up of managed server in Weblogic    stackoverflow.com

As I was unable to figure out how to post the exception log so that it renders properly,I have put a link to the issue I am facing; I request to ...

91. Server side URL redirect    stackoverflow.com

I have a long URL that points to initial page of the website and I want to make it simple so user can remember it. I don't want to do client-side ...

92. SAML autentification using Java 1.4 and Weblogic 8.1    stackoverflow.com

I want to access some webservices, which require SAML autentification. I already obtain SAML token. How can I propogate it while processing an outbound request using Java 1.4 and Weblogic 8.1? Thank ...

93. weblogic java parameters    stackoverflow.com

I have a web service which access 2 other web services. I need to deploy this web service but some how I need to change the urls from the others web ...

94. java.io.NotSerializableException    stackoverflow.com

We are getting the following error in our clustered QA environment. We run Weblogic 10.3.3.0 on linux. <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <1301432394933> ...

95. updating welogic.xml    stackoverflow.com

my weblogic.xml looks like this

<security-role-assignment>
<role-name>employee</role-name>
<principal-name>scott</principal-name>
<principal-name>john</principal-name>
<principal-name>peter</principal-name>
</security-role-assignment>
But when i add new employee(programmatically) lets us say 'mark' i want weblogic.xml to be updated for 'mark' also. Actually i can see new employee in admin portal. But ...

96. Lookup via Annotation in Weblogic    stackoverflow.com

I am using EJB3.0, Weblogic 11g I am trying to do simple lookup from servlet to Statelessbean and run there a method. both under the same EAR. I managed to do it with ...

97. weblogic custom truststore    stackoverflow.com

This might be a very weblogic specific question: I'm trying to use smtp with starttls from within a jee app deployed in a wls 10.3.4.0. I'm using a custom truststore with ...

98. Why is Cargo generating duplicate data sources for Weblogic 10.3.x container?    stackoverflow.com

I'm trying to deploy an ear to a local instance of WebLogic 10.3.x using the Cargo maven plugin, version 1.0.6. When I do this Cargo generates duplicate jdbc-system-resource elements in the ...

99. How do I create a common component in Weblogic?    stackoverflow.com

I want to build a common component that can be called from any deployed application. But I do not know how to do this? Is there a pattern for this? For example, If ...

100. No downtime For Application Migration in Weblogic 8.1 sp2    stackoverflow.com

We are performing frequent application migrations which results in long or extended downtime . Our setup runs on Weblogic 8.1 sp2 cluster nodes and our application is a mission critical application ...