weblogic

How to write correct Regex for url's on the page without anchors?

Hi all, I want to cut all url's like (http://....) and replace them on anchors <a></a> but my requirement: Do not touch anchors and page definition(Doc type) like: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; So I need to find just plain text with url's... I'm tryin...

Weblogic - how to bring server down for maintenance?

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 way to use two managed servers or WLST to do this somehow? ...

WebLogic "MDB application is NOT connected to messaging system"

We have a J2EE/portal application running on WebLogic Portal 10.2. We have recently introduced an asynchronous EJB call, but after putting it into production, we're getting an error message that says MDB application XXX is NOT connected to messaging system Is this a coding issue, something that can be tweaked with a runtime parame...

can what I am doing in my webapplication be hacked or broken into easily?

I am presenting the user with some exam. Users are not to proceed into the actual site before they pass this exam. However, there will be some users who will have a choice to bypass the exam until some date (say month from current date). So these users have a window of a month to take the exam. until then they can click 'Proceed' on t...

Weblogic Error - Method not supported : Statement.cancel

I am running an application on Weblogic 9.2 MP3, currently having problem with connection pool. ERROR - UserBean retrieving user record. weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool MyApp Data Source to allocate to applications, please incr...

Weblogic 10 - JMS - This RJVM has already been shutdown

Any idea why the following errors comes up.This is happening when posting a JMS message to a queue deployed on Admin server from the application on managed server. 009-06-02 11:21:18,688 (com.xxx.util.servicelocator.ServiceLocator:612) ERROR - Error while loading Queue ProfilerNotify javax.naming.CommunicationException [Root exception ...

How to load another's service certificate to my WebLogic truststore?

An online service provided me with their certificate (a pfx file) along with its password. I am looking to load that into my WebLogic 8.1 truststore in Unix. There is a truststore currently that exists in my WebLogic. I am new to this so I was wondering what was the process to add that other party's certificate to my existing WebLogic...

Suspend weblogic datasource on command line

I was Wondering if there is anyway of suspending / resuming weblogic 10 jdbc datasources via the command line. I am aware that i can do this in the admin console, but because our app has many different datasources it is a bit of a pain. The reason behind this is that our testers are doing error flow tests and have to simulate the db goi...

email log file, generated by Java WebLogic Application Server

does this requirement conform to the J2EE Standards? is there a easy way to implement this, log file gets generated by Log4J and in the end I will access the file system and email the whole file(s). can I access the file system? ...

EJB Interceptors in Weblogic

I have an EJB in Weblogic 10.3 that has en EJB interceptor defined for it like such: @Stateless(name="MyEJB") @Interceptors ({AuditInterceptor.class}) public class MyEJBImpl extends BaseEJB implements MyEJB It appears as if the interceptor advice is only being applied to certain methods in the EJB. I am using the @AroundInvoke annota...

Understanding MQ Series bindings files

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 app server. I've never really got my head around the bindings file and what all the entries mean. Can anyone provide guidance to understand this file? ...

What are the common dependencies of Weblogic 8.1.6

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 if we use e.g. Apache Commons Lang 2.4 we get a MethodNotFoundError at runtime. So what exactly is inside the 3rdparty.jar and which versions? ...

What are the best resources for learning the Java Portlet Specification (JSR-168)?

I've been looking online for the last day or so but haven't managed to see anything that clearly explains the spec. The application I'm trying to learn is based on BEA Weblogic Portal Server. I'm primarily looking for links but a good book would also be helpful. ...

Multiple Browser Windows Synchronization

Hello, 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 which requests it for (for the time being i am using simple polling, will move to comet later). Is there any good technique that I haven't thought of, so that I can send a...

When defining a message part (wsdl:part) can the message-type attribute 'type' be used to refer to a wsdl:fault?

I am trying to consume a third party WSDL using the Weblogic 10.3 clientgen ant task (which wraps wsimport). When doing this I get the following error: [clientgen] [ERROR] in message "JobSubmissionErrorFault", part "exception" must specify a "element" attribute Below is a subset of the WSDL I am trying to consume (names have been c...

weblogic connection through MS ISA server

I am trying to connect Weblogic HTTP module through ISA server. The module works fine on the environment without ISA server. It connects fine to the internet site. However when it runs behind ISA, the application timesout. What options within weblogic can I set so the application will pass through ISA server? I have the host name, port n...

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

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 the security realm and created a Web SSO Identity Provider Partner that uses the meta-data from the identity provider that I set up earlier. That al...

How to enable JMX on Weblogic 10.x

I have an application that is JMX enabled. It has its own JMX Agent and some MBeans. When i launch the application in WebLogic, i am able to connect to the JMX agent via the RMI url and perform the operations on MBeans via "JConsole". But when i get into the Weblogic console, i can not see any JMX consoles! How can i enable the JMX con...

Why not able to get the 'Run on Server' option for JSF jsp page on eclipse, weblogic, JBossTools?

I am trying to run a JSF 1.2 application created using Eclipse Ganemede and JBoss Tools on WebLogic 10.0 MP1 I have created a simple JSF helloworld application and have added a simple JSP. I have configured a weblogic domain and a server using the JBoss Tools plugin through eclipse. When I right click on the JSP file I can only see "Run...

Getting a list of all classloaders in a JVM

Is it possible to get a list of all class loaders in a JVM or at least all class loaders associated with web apps in a JEE Server (Weblogic in my case). ...