Working with WebLogic 8.1.2?

Is anybody using the new WebLogic integration successfully with WebLogic server version 8.1.2?

Whenever I try to deploy to a server from IDEA, I just get an unending stream of exceptions until I kill the server.

I opened a bug for it at http://www.intellij.net/tracker/idea/viewSCR?publicId=28749 but if anybody is using this successfully, perhaps I'm doing something wrong. If so, I'd like to know how I should get it working.

9 comments

Works fine here. Although startup (within IDEA) is painfully slow.

"Maarten Hazewinkel" <no_mail@jetbrains.com> wrote in message
news:4021683.1075885123607.JavaMail.itn@is.intellij.net...

Is anybody using the new WebLogic integration successfully with WebLogic

server version 8.1.2?
>

Whenever I try to deploy to a server from IDEA, I just get an unending

stream of exceptions until I kill the server.
>

I opened a bug for it at

http://www.intellij.net/tracker/idea/viewSCR?publicId=28749 but if anybody
is using this successfully, perhaps I'm doing something wrong. If so, I'd
like to know how I should get it working.


0

Okay, maybe not so fine. Shutting the server down from within IDEA hangs
IDEA. Just freezes and I have to kill the process.

"Brad" <brad.lane@pearson.com> wrote in message
news:bvrgc6$tmv$1@is.intellij.net...

Works fine here. Although startup (within IDEA) is painfully slow.

>

"Maarten Hazewinkel" <no_mail@jetbrains.com> wrote in message
news:4021683.1075885123607.JavaMail.itn@is.intellij.net...

Is anybody using the new WebLogic integration successfully with WebLogic

server version 8.1.2?
>

Whenever I try to deploy to a server from IDEA, I just get an unending

stream of exceptions until I kill the server.
>

I opened a bug for it at

http://www.intellij.net/tracker/idea/viewSCR?publicId=28749 but if anybody
is using this successfully, perhaps I'm doing something wrong. If so, I'd
like to know how I should get it working.

>
>


0

I have mine working as well. I've had IDEA freeze on shutdown, although it doesn't happen every time. When it happens I have to force shutdown the server from the WebLogic console and IDEA frees up.

0

Ok, seeing as you guys do have it working, its probably something on my side. I'm going to download the latest versions of both IDEA and WebLogic tonight, and try again in the morning.

On the chance that I'm skipping some essential step, I'll briefly describe what I did to try and get started. If you could point out anything I missed, I'll be most appreciative.

I downloaded and installed the developer version of WebLogic platform.

I configured a server using the WebLogic config wizard. This is based on the Basic WL Server template.

I set up a new IDEA project with a single web module. The module is configured to use the WL server set up above.

I added a test jsp page to the module, and tried to deploy it to the server. This results in the exceptions logged in the above tracker item.


If I'm skipping any essentials, or doing anything wrong, please let me know.

Thanks

0

Ok, after reinstalling both, I do still get the mentioned exceptions while doing the deployment, but after some time they stop and the module is deployed correctly.

I haven't been able to get debugging working yet, but I'll keep trying.

0

When you say "deploy to a server from IDEA" what exactly do you mean?
Are you doing a "Make Project" with your exploded directory or jar file
being placed in WebLogic's application directory, or are you using hte
Deployment View? I haven't been able to get the Deployment View to work at
all. If you are, how do you set it up?

"Maarten Hazewinkel" <no_mail@jetbrains.com> wrote in message
news:4021683.1075885123607.JavaMail.itn@is.intellij.net...

Is anybody using the new WebLogic integration successfully with WebLogic

server version 8.1.2?
>

Whenever I try to deploy to a server from IDEA, I just get an unending

stream of exceptions until I kill the server.
>

I opened a bug for it at

http://www.intellij.net/tracker/idea/viewSCR?publicId=28749 but if anybody
is using this successfully, perhaps I'm doing something wrong. If so, I'd
like to know how I should get it working.


0

I was actually using the deployment view.

I didn't do anything special to get it to work. I just have a project with a single web project. I set it up to build in an exploded directory outside the main project directory (not in WebLogics application directory).

Then just set up a basic WL server config and target it with the app-server integration. Don't start it yet.

In the deployment view, select the web module, and hit the deployment/run button. It starts up the WL server, spits a load of exceptions (probably from trying to watch the server status when it's not available yet) for 30 seconds or a minute, and then deploys the module.

You can also undeploy the module from the running server (server stays up), and then redeploy the module.

While this basic functionality works, it is fairly useless for development purposes, since the server is not run in debug mode, so no breakpoints, etc. If you start up the server from the Debug dialog, the deployment view will not be able to use that running server.

I'm still looking to see if I can do anything with the deployment view with a separately started server (using a remote server), but so far, every time I tried anything, IDEA froze and I had to manually kill IDEA.

I'm going to keep trying various approaches, and if I hit any magic combo, I'll let you know in this thread.

Regards,

Maarten

0

It is now actually possible to debug jsp in WebLogic by using the JSR45 plugin instead of the WebLogic integration.

Adding a weblogic.xml files to WEB-INF, and building to an exploded directory in the weblogic 'applications' directory is sufficient to actually break in, and debug, jsp pages (and servlets as well).

The weblogic.xml file should contain:

debug true ]]>
Of course, you need to set the environment (or the WebLogic startup script) to pass the correct debug parameters to the WebLogic VM. I used the JAVA_OPTIONS environment variable.

This enables the JSR45 support in WebLogic 8.1.

I strongly suggest that this feature may be used by JetBrains to bring WebLogic jsp debugging support forward to a 4.0.x release instead of waiting for 4.1.

0

Please sign in to leave a comment.