-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#298 Added Maven profile for WebLogic #301
Conversation
client library was missing the "wlserver" infix used by WebLogic 12.1.3.
Hi Arjan, No matter how I try (or with which project) I keep getting a following error
I'm running my weblogic in docker container and I started to wonder if that might be that case. I'll follow it up on arq issues, but (as you wrote at some point) you coauthored this particular arquillian container - maybe you've come across smth similar. The previous version of container (arquillian-wls-remote-12.1) works fine. Any clue? Nonetheless looks solid, if smb (maybe @buttso) can give it a try - we should be merging it. I suspect my problem is rather local. --Kuba |
That's indeed a peculiar error. I tested the profile on two different systems; OS X and Ubuntu. Additionally I asked someone from Oracle to try and verify it, and she mentioned it worked as well. There was one change though, and that concerned the JMX client library. First If WebLogic is in a docker container, does that mean you changed the admin url from In my experience |
@kubamarchwicki @arun-gupta anyone tried a "regular" (local/non-docker) install yet? |
@m-reza-rahman might have a few WebLogic installations on his machine and should be able to try it. |
I'd been looking at this myself recently based on a Docker test environment that I was using. I think the issue here is that the adapter that uses the JMX API is unable to copy the file from the dev environment into a remote server environment so that it can then be deployed from the AdminServer. The JMX API can perform a deployment operation, which is why it works when the dev/test environments are co-located, but it appears to have no way to also perform the archive upload required to perform a true remote deployment. For the Docker case, this reflects a local/remote setup since there is no shared file system from which to deploy the application (unless you specifically set the Docker/host up that way). I'm still getting it confirmed but that's my understanding of what is happening. The adapters that use the weblogic.Deployer utility (or underlying class directly) can perform a remote deployment since it has an option that uploads the archive to the remote server as part of the deployment process. |
That's an interesting path. When I run my wls with
Anyway - I've risen this issue: arquillian/arquillian-container-wls#21 as more relevant :-) will see how it gets |
@kubamarchwicki @buttso Those are surely good points to look at for the Arquillian container in general. I have some small fixes queued up first (the missing "wlserver" part of the path for instance), but if no one else looks at this first I can take a look later. As for now the "remote" profile for the Java EE 7 samples project for WebLogic does assume both tests and server run on the same host. This is incidentally the same assumption the Liberty profile makes. There, setting up the profile to be truly remote would necessitate setting up a rather nasty and involved SSL configuration. So what do you think, can this PR be accepted? |
Squashed and merged. Thx - I'll followup on the discussion about remote-wls container where needed :) |
No description provided.