weblogic

Spring Security LDAP on Weblogic Server

Hi folks, i'm tring to use ldap for authentication in Weblogic Server but I have this problems always: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '(inner bean)#8': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.ldap.core.suppor...

How to view results of a WebLogic Deployment Plan

I'm trying to use a weblogic deployment plan to add init-param values to a vendor-provided .war file's web.xml. While I realize that I can open the .war file and just edit the file inside, I'd prefer to use a deployment plan to accomplish this as I will need to deploy the .war file to multiple servers with different values for the init-...

Spring Security 3 - Not granted any authorities

Hi folks, i'm tring to use ldap for authentication on Weblogic Server but I have this problems always: Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffe3f86: RemoteIpAddress: 127.0.0.1; SessionId: WhgyMmQddKLfnFjhTLn5Thl421hWZ8sLV732ctYLSLhQpQLW1JFR!-860386732!1285980317840; Not...

Configuring fast-swap in WebLogic fails, with a "BEA_HOME environment variable is null" AsserionError.

In WebLogic 10.3.0, I tried adding <fast-swap> <enabled>true</enabled> </fast-swap> to my weblogic.xml configuration file. (<fast-swap>true</fast-swap>, as specified in the instructions here, throws an XML error, instead. Most examples that I've found cite the method I've posted above as the One True Way. ) Unfortunately, the ...

Java Servlet Excel export refreshes the request every 300 seconds - even when the first one isn't done yet

I'm working on a program that often does Excel exports from hypermassive database tables. One test case I'm doing right now does about 300k rows by 40 columns into one xlsx worksheet. It completes in about 6 minutes or so, taking about 1.1GB RAM, but I've run into a major hangup - after exactly 300 seconds have passed, I see this patte...

Weblogic starts old version of an application after redeployment.

We deploy our enterprise application(exploded) on Weblogic using WLST: oldApplication = find(name=d['name'], type='AppDeployment') if oldApplication: print "Undeploying application " + d['name'] + " on server " + target progress = undeploy(appName=d['name'], targets=target) progress.printStatus() if cmd == "deploy" or cm...

Exception when using @SchemaValidation annotation on JAX-WS endpoint in Weblogic

I am trying to get schema validation working for a JAX-WS Web Service deployed on Weblogic 10.3.3. According to the documentation, this should be as simple as adding the annotation "@SchemaValidation" to the endpoint class. However when I try this the following exception is thrown when the application is deployed: Caused by: javax.xm...

Weblogic remote debugging using eclipse

Hi Guys, My Weblogic is installed in a Red hat OS machine. In the startWebLogic.sh i have added this line JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n %JAVA_OPTIONS%" When I try to connect from my Eclipse I get a "Failed to connect to remote VM. Connection refused. Connection refused: ...

How does weblogic clustering work?

I'm new to weblogic. I've read http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/overview.html and searched this topic on the internet but still had a hard time understanding some of weblogic's clustering concepts. Can anybody confirm/correct my understandings below? a cluster contains one or more logical servers which can ...

Apache 2.2 ProxyPass with Weblogic - Can't use root

Hi all, I'm trying to configure an Apache 2.2 proxy server to point to multiple Weblogic instances. I'm doing fairly well with everything but a minor point. I can get this to work: ProxyPass /QA http://IP:PORT/ by going to http://IP:PORT/QA But I can't get this to work: ProxyPass / http://IP:PORT/ by going to http://IP:PORT/ I d...

Ext JS and PHP File upload and parsing error

Hi, I am trying to upload a text file with more than one record but I keep getting a syntax() error. The implemented logic works fine if there is only one record in the file. Could the problem be that I am echoing multiple records in my foreach loop? Description: Ext JS interface where the user browses for a file. Once file is selecte...

weblogic as ssl client (single side auth)

How can i make weblogic to work as client in ssl authentication. ...

Spring2.5 WebMVC Servlets | Can interceptor based state information be stored in handlers for each request?

We have an interceptor that checks for an allowed (mobile) user-agent. We're using an internal database for recognizing them. So I've setup an interceptor that first recognizes the user-agent and creates a Phone object keeping all its capabilities for later or redirect to an error page if we don't like the agent. The interceptor's preHan...

Configuring container-managed security in Weblogic

Anyone know of any guides for this? I'm a complete newbie to weblogic and to container-managed security. What I've done already is: setup an LDAP authenticator in Weblogic created a simple webapp in Eclipse Configure web.xml: Added security-constraint, security-role and login-config elements. The realm name used is "myrealm" which alr...

Could not able to resolve why the EAR file could not be deployed in Weblogic 10.3????

The error is coming Deployment connection was released before the state of deployment was known. Is it error of timeout or do i have to change some settings ...

Servlet Filters and Threading?

I am building a webservice on Weblogic 10.3.3 and I am using a servlet filter to log the request to a database. I do not want the filter to slow down the call to the webservice. So I actually have 2 questions. 1) Does the filter, or can I make the filter do the logging on a separate thread? if so how? 2) is there a way I can dynamicall...

Programming tutorials for web logic portal

Hi is there any beginner tutorials i can learn for web logic portal? I just installed the application and just trying to play around with it ...

Logback stops logging after configuration reload

We are evaluating the use of Logback in a multi-server Weblogic environment. On one machine we have two Weblogic server instances (basically two separate JVM processes) running on a same Weblogic domain. The servers log to the same log file (application.log). The Logback configuration (logback.xml) is the same for both servers (shown bel...

weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request

Hi, When i click on a link which sends post http request (Ajax) to a webwork action, i am getting the following error. The issue is sporadic in nature. What are the possible root causes and fixes for this issue? Any help is highly appreciated. weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/bold/profi...

CSV files downloads (opened in Excel) prompt for Windows User Authentication

I have a site using a self-signed cert (which prompts for "trust this site and continue"), and in IE, occasionally when the user attempts to download a CSV file (which is handled by writing the file to the file system and sending a redirect header), the user can be prompted with the Windows authentication screen for username/password. T...