"Problem Opening Wizard" exception when trying to create new CEP project - Complex Event Processing

Hi,
I am using Eclipse 3.5, get this error when I do File -> New Project -> OCEP Application Project. The error details says:
The selected wizard could not be started.
Plug-in "com.bea.wlevs.eclipse.tools.ui" was unable to instantiate class "com.bea.wlevs.eclipse.tools.ui.internal.wiz.project.NewOCEPProjectWizard".
com/bea/wlevs/eclipse/tools/core/internal/Activator
I was previously able to install the "OCEP Plugins for 3.5" without any problems.
I noticed that the default eclipse.ini file is pointing to JDK 1.5, whereas the installation pages say we need to use JDK6. I did try tweaking the ini file to point to JDK 6, but got the same error.
Any ideas?
Thanks,
Rahul 

Rahul,
Please confirm that you have edited the eclipse.ini file according to this:
http://wiki.eclipse.org/Eclipse.ini
The formatting is picky, so be sure you got it right. The OCEP plugins definitely won't load correctly unless Eclipse is running on a 1.6 JVM. You can confirm which version of the JVM Eclipse is running on by going to Help > About Eclipse > Installation Details, clicking on the Configuration tab, and looking for this: java.runtime.version
My suspicion is that you're still not running on a 1.6 JVM.
If you're sure you are running on a 1.6 JVM and you're still seeing the problem, can you send me the .log file in <workspace-dir>/.metadata/? I'll need to find out more information about what's going wrong.
Thanks!
Thomas 

Thomas,
Your suggestion about switching to a different workspace did the trick! I think the problem was I was using the default workspace "C:\Document and Settings\rahul" which contained some metadata from an older install of CEP or the plugins and causing problems. Using a different workspace fixed the issue.
I also checked my JDK version and it was 1.6, so that wasn't the problem.
Thanks for your help!
Rahul

Related

WLST not found?

Hi all. I just took over someone else's work that uses OSB. She did all the installation and some initial services. My current project requires that I set up a DB adapter, so for the first time, I tried using JDeveloper and Oepe version of eclipse. Turns out the previous person installed the wrong version of Oepe, so I was forced to delete the installed Oepe that probably came with OSB and then installed the correct version of Oepe. I updated the eclipse.ini to have these parameters
-Dweblogic.home=/blah/Oracle/Middleware/wlserver_10.3
-Dharvester.home=/blah/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home=/blah/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=500
-Dosgi.nl=en_US
Everything seemed to run fine and I was able to generate a business service on Oepe, but then I realize that the server was not hooked up right. When I tried to manually add the server, I got an error
java.lang.NoClassDefFoundError: oracle/eclipse/tools/weblogic/IRuntimeComponentProvider
I'm pretty sure my weblogic server setting isn't correct, but I couldn't find any information on what is the right configuration.
Can anyone help me on this???? Should I try to deploy the DBAdapter service directly? I don't know where to look for instructions on how to do that either.
Any help is appreciated! 
Try in a new workspace and check if there are any exceptions in the error log view after eclipse startsup. If there are exceptions please send that as that would probably mean your installation is not right. If there are none, create a server (picking the latest version of weblogic server) and check if you see the same problem as the one you reported. 
tried a new workspace. Got exactly the same issue.
An internal error occurred during :"Configure WLST interpreter" oracle/eclipse/tools/webloigc/IRuntimeComponentProvider
The log has this:
Operations System/Operations Settings/GlobalOperationalSettings
Connection refused
the log error goes down to org.eclipse.core.internal.jobs.Worker.run(worker.java:54) 
What is the entire exception trace after starting the IDE in a new workspace ? Something doesn't look right.
I would just install everything from scratch and try again:
1. Install WLS+OEPE
2. Install OSB pointing to the correct WLS and OEPE directories from step 1 above 
I can't reinstall everything because my wls is already in production and I even have osb projects set up.
I will try to reinstall OEPE. Do you know if there is any documentation on how to intall OEPE not bundled with WLS? I can't find anything and I pretty much just unzip everything in my Oracle/Middleware directory. Maybe this time around, I can try to be more careful with the installation of Oepe? 
I think I figure this out. My osb and wls were installed back in July, so the new oepe helios includes wlst which is not included with my osb setting. I installed the older galileo version instead and it seems to be working okay now.
I have noticed that osb/weblogic are very picky about the versions they are compatible with. I wish there is a better documentation that would describe what is compatible with what.
Thanks for the help. 
The Helios OEPE plugins have renamed a class oracle.eclipse.tools.weblogic.IRuntimeComponentProvider to oracle.eclipse.tools.weblogic.RuntimeComponentProvider.
This makes the use of the OSB set of plugins for eclipse incompatible with the Helios eclipse release.
Edited by: sweetfa on 21/11/2010 21:24 
Hi,
Even I have reinstalled and verified. Still I have the same issue. Please help.
--Khaleel                                                                                                                                                                                                            
my problem has to do with incompatibility. You should start a new thread with more details on your problem and see if anyone gives a better answer. I'll tell you what I have learnt with osb is that when everything is set up with the right version, they work great. Otherwise, you'll run into weird problems that no one else has run into. 
OSB eclipse plugins are designed to only work with an OEPE version it is certified with. If it was certified to work with OEPE version of Galileo then it will only work with that and not the Helios version of OEPE.
-Ravi

Eclipse oepe error when creating weblogic 10.3 server

Hi. (Hopefully this is the correct forum for Eclipse/oepe issues.)
When defining a new Weblogic server, I get the following error from the wizard upon entering the domain.
The server is invalid. Error occurred reading server credential. If the domain was recreated, the server instance in Workshop must also be recreated. Required classpath for credential detection is missing. Detection is disabled.
This happens regardless if I setup a new domain, or point it to the sample *...10.3/samples/domains/wl_server*.
Please advise.
Thanks
nat 
Can you check your domain directory to see if the security credential file exists?
e.g. wl_server\servers\examplesServer\security\boot.properties
Workshop only supports WebLogic domain created in development mode, which should include this file when created.
Another possibility is that the file is damaged that the Workshop cannot parse the file. 
Correct. I do NOT have a mydomain/security/boot.properties file.
I do however have a mydomain/servers/AdminServer/security/boot.properties file.
So the question now is, how do I get a new boot.properties file into mydomain/security. Can I just copy the file from the AdminServer hierarchy?
Thanks,
nat 
Looks like you are trying to define a Server against a managed WLS server.
Workshop only supports development on an AdminServer.
In you case, you have to create the Server in IDE and pointing the domain path to the AdminServer. 
I am creating the domain from within the ide (when setting up a new server) and paging thru the weblogic gui to do so.
I specify development mode, but still the same problem.
nat 
This might not be a domain creation problem then, also I just noticed you mentioned that you had problem even with /samples/domains/wl_server.
There seems to be an either corrupted OEPE installation or mis-matched OEPE adapter and WLS 10.3 runtime.
Which version of OEPE are you using and how did you install it? I will suggest you try a new installation of Eclipse/OEPE.
And check you WLS 10.3 is installed properly -- can you start the domain outside of IDE? 
I have tried two distinct paths, both on Eclipse 3.4 and Suse Linux 11.1.
1. In a standard wtp 3.4, I chose to download additional adapters, which also pulled in OEPE 1.0 (*Help-->About* displays the 1.0 OEPE icon). At the same time I installed WLS 10.3 from scratch. I am able to run the admin console.
(And when that didn't work:)
2. I dl'd the complete eclipse 3.4 configured with OEPE from the Oracle site, installed it a new directory and new workspace, did nothing else (um might have tweaked eclipse.ini ) but try to install new server. And when that didn't work, deleted WLS 10.3, and re-installed it in a new directory. Same story.
Thanks,
nat 
This sounds like a Linux specific issue. But when I tried, I wasn't able to reproduce with my Fedora Linux 10 and OEPE all in one installer downloaded from Oracle web site. WLS 10.3 can be defined and started from IDE. Not sure if Suse Linux 11.1 makes any difference. 
I have an Open Suse 11.0 install and I just tried this. I installed WLS 10.3 using an installer downloaded directly from OTN and OEPE 1.0 ganymede all-in-one kit from OTN.
I did not reproduce the problem that you are seeing. I was able to define server instances pointing to sample domains in the install and a new domain that I created. Deployed and ran the app too.
So... There is something different about your setup than what either one of us are doing. My guess it has something to do with your WLS installation. Where did you get your WLS 10.3 installer from? Which installer did you get? Was it bundled with something? If you made any non-default choices during the installation, could you describe those choices?
- Konstantin 
Hey! Nice to meet you here, Konstantin! I am currently in the middle of a thread with you over at the eclipse.webtools project newsgroup. (multiple servers one project.)
Anyhow, regarding this issue. I used the server103_linux32.bin (784,532,902 Bytes), obtained from oracle site, to install WLS.
Thanks,
nat 
ps. I tried the jrockit jvm 6.0.5 included, as well as Sun's 32 bit jdk1.6.0_07 jvm. 
Got it!
On my system I have several partitions with /tmp on one, and /opt which holds all my developer stuff on another.
Several Java programs have a problem (bug) attempting to move a file from /tmp to target, when target happens to be on another partition. (Depending on how the move is done.)
Several Eclipse modules also have this problem. https://bugs.eclipse.org/bugs/show_bug.cgi?id=239396
Also explained here. http://forums.java.net/jive/thread.jspa?threadID=45011&tstart=0
(The OC4J team is well aware of this, since upon deploying an ejb project OC4J console displays something like "Can't move file from tmp, will COPY it instead.")
Today I tried a fresh install of WLS 10.3 and of OEPE to a new directory on the same partition as /tmp.
Voila! Everything works. It seems like the WLS installer and/or new domain wizard are bitten by this.
nat 
Also I get this warning from the wls 10.3 installer and from new domain wizard.
libxcb: WARNING! Program tries to unlock a connection without having acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
This happened on my system regardless on which partition I installed it. (The install today on the same partition also displayed this error, but nevertheless works ok.) fwiw.
nat 
Great to hear that you found a resolution to this problem!
- Konstantin 
What happens if you get the same bug running under win32? :(

Trouble integrating mission control with eclipse - no new perspective

I've followed the instructions posted in many locations for editing the eclipse.ini file to get mission control integrated into eclipse. However, when I go to select the perspective, the new 'mission control' perspective isn't listed. Is there anything else I need to configure?
I've confirmed the eclipse.ini file I edited is the one being accessed when eclipse starts. I've looked at 'help - about eclipse - configuration details' and confirmed the -vm parameter points to javaw in my JRMC 3.1 bin directory (1.6.0 and tried 1.5.0). I'm using the eclipse-jee-ganymede-SR2-win32.zip file downloaded from the eclipse site.
Any ideas would be appreciated - I'm stuck.
-Bill 
Did you install the Mission Control plugins from the update site? See here for more information. 
None of the results I found for using Eclipse mentioned this step. It is exactly what I needed. Thank you. 
Hi.
I followed the steps listed in http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/base/3.1.0/eclipse/update-site-instructions/index.html and still couldn't install the mission control pluggin.
"Network connection problems encountered during search. Unable to access "http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/base/3.1.0/eclipse/
Error parsing site stream. [Premature end of file.]
Premature end of file.
Can someone advise?
Thanks
Lynn 
What is the current address for getting the Mission Control view into Eclipse?
I've tried several variations and I keep getting an error that CONTENT.JAR is not found (see screen shot below).
Thanks,
-Bill (installing again)
!http://i46.tinypic.com/20r1ws6.png! 
Okay, I think this is due to using Eclipse 3.5 because 3.4 seems to be working with the info on [Hirts Blog (PDE Wizard)|http://blogs.oracle.com/hirt/].
When might there be compatibility with Eclipse 3.5?
Thanks,
-Bill 
I am running into the same issue while running Eclipse 3.5.... has this been fixed yet? Or has anyone been able to run JRockit mission control with Eclipse 3.5? 
JRockit Mission Control 3.x is unfortunately not supported running inside of Eclipse 3.5. Either run JRMC 3.x as a stand alone application or inside an Eclipse 3.4. Next major version of JRMC (4.0) will support Eclipse 3.5 and we will become better at supporting new releases of Eclipse from JRMC 4.0 and on.
Kind regards,
Marcus 
I'm using Eclipse 3.5 (Galileo) and got fedup with the update site. Instead I chose to do the offline installation from here: http://www.oracle.com/technetwork/topics/Eclipse/downloads/index-101227.html
Download the zip file, go to Eclipse > Help > Install New Software > Add (button) > Archive ... (button) > (select zip file) > Oracle JRockit Mission Control ...
Next next next finish

which version of OEPE to use for Weblogic 10 /java 1.5/ and galileo

Specifically I have galileo installed and downloaded the plugin from
1. update site: http://download.oracle.com/otn_software/oepe/galileo/wls-adapter/ - http://download.oracle.com/otn_software/oepe/galileo/wls-adapter/
2. installed both the following
Oracle WebLogic Server Tools     1.4.0.201001281326
Oracle Common Tools     1.4.0.201001281326
3. It gives me the following options when I click on "New Server"
Oracle OC4J Standalone Server 10.1.3.n at localhost
Oracle OC4J Standalone Server 10.1.3 at localhost
and the following error when I click on either one
Missing classpath entry C:\oracle\OC4J10.1.3\j2ee\home\admin.jar and complaints about not having jvav 1.6 when I start eclipse...
I dont want a standalone server...
All I want to do is manage my weblogic10  from inside my galileo instance and do some development with exploded war! Please help! 
You need to have Java 6 JVM to run OEPE. You can still develop your apps to target to Java 5 and deploy them to WLS 10.0. If you choose to ignore the Java version dialog you will not get any OEPE functionality in your Eclipse install when it starts.
OC4J is a different app server from WLS. It is not part of OEPE. It is there in base Eclipse. It doesn't sound like this is what you want anyway.
- Konstantin 
thankyou for your quick reply!
So what exactly do I need to accomplish what I need to so ?
Here is what i think, please feel free to fill in or correct my assumptions
1. Download OEPE for galileo
from where ? The update site- update site: http://download.oracle.com/otn_software/oepe/galileo/wls-adapter/ - http://download.oracle.com/otn_software/oepe/galileo/wls-adapter/
resulted in some oc4j stuff showing up...
2. Once I have downloaded the correct oepe, I set the environment variable for the jvm that runs eclipse to jdk1.6, will this enable oepe to run ?
3. Now if I select new server, I will be able to pick weblogic server 10.0 ?
Thankyou once again. 
http://download.oracle.com/otn_software/oepe/galileo/wls-adapter/We don't recommend using this URL. It is there for use by third-party integrators that need update sites formatted in a certain way. I would be curious to know where you found this URL as I'd like to correct any improper documentation. The proper public URL to use is this one:
http://download.oracle.com/otn_software/oepe/galileo/
You will still be able to pick the particular components of OEPE that you need, if you wish to install a subset.
Having said all that, what you have installed is fine. You do not need to re-install.
resulted in some oc4j stuff showing up...OC4J support is present in base Eclipse distribution. It was not installed when you installed OEPE components.
2. Once I have downloaded the correct oepe, I set the environment variable for the jvm that
runs eclipse to jdk1.6, will this enable oepe to run ?If you have Java 6 VM installed, launch your Eclipse with OEPE again. The dialog that you saw earlier will help you to configure your Eclipse to point to the Java 6 VM install. Alternatively, you can edit your eclipse.ini file by hand and add this to the start:
-vm
[some.path]/javaw.exe
3. Now if I select new server, I will be able to pick weblogic server 10.0 ?You will see more entries under the Oracle category. You will also see a BEA category. Version 10.0 is going to be under the BEA category.
Hope this helps.
- Konstantin 
Thankyou! I am glad to have gotten even this far.....I needed to run eclipse with java 1.6
That brings me to the main issue I have to tackle. My directory structure for existing projects is nothing like the j2ee requirement. I need to be able to shoehorn it into the J2ee deployment structure. I noticed this blog
http://blogs.oracle.com/gstachni/ refers to Oracle Enterprise Pack for Eclipse, 11.1.1.4 and APPXray which might be able to help me solve my issue seeing how it is able to map source structure to deployment structure.
Will Oracle Enterprise Pack for Eclipse, 11.1.1.4 work with Java 1.5/Galileo and Weblogic 10 ? 
Will Oracle Enterprise Pack for Eclipse, 11.1.1.4 work with Java 1.5/Galileo and Weblogic 10 ?Yes. You are already using some OEPE 11.1.1.4 components, but the update site URL that you used did not give you access to the WebTier component which has the AppXRay feature. You may want to re-install using the update site URL that I provided in my post if you wish to get access to this functionality.
There is no difference in system requirements. You have to run Eclipse with Java 6, but you can develop your code against Java 5 and target WebLogic 10.0.
- Konstantin 
Great! Its working for the most part...
Its deployment descriptor does not seem to recognize jsp-config elements in the web.xml... this is especially important to me since I don't want to turn validation off before I deploy.
I am specifying the taglibs and their uri's in the web.xml but the plugin does not seem to find it. I am not going to be able to change the existing app structure so I've got to get this to work...
thankyou. 
Is the weblogic server that is started in the "Server View" started with java 1.6 too ? I started eclipse with java 1.6, is there some way I can tell weblogic to start with 1.5 ? 
WebLogic Server is not started with the same JVM that Eclipse is running in. The JVM that's used for WebLogic Server is set in the server's start script. OEPE just calls that start script. The association between WebLogic Server and a JVM is typically configured by WLS installer.
- Konstantin

xmlbean facet for utility project

Hi, I created a utility project (I only have schema for this project.) and have Apache XMLBeans added. but I don't see Apache XMLBeans showup in Project Explorer. I only see JRE System Library. And I got error "org.apache can't be resolved to a type".
Also there is a XMLBeans Builder problem "Unable to locate a tools.jar inside a 1.5 JDK installation. A 1.5 JDK must be added to the set of installed JREs to support the XMLBeans interface extension feature where the custom interface is processed as a Java source file (restart required)."
My OEPE runs on JRE1.6. How to fix these? Thanks! 
Hi,
I am not able to reproduce the problem, creating an utility project with Apache XML Beans facet does display "Apache XML Beans v2.3" entry in Project explorer. It would be helpful if you can describe the steps in details including the RT used for project creation.
And regarding the builder problem, try the following step to resolve JDK VM:
- Window > Preferences | Java | Installed JREs, click "Add..." and point to a JDK installation and make sure to check this entry.
-Ram 
I got it now. The previous project was created and added into Java EE project, not the Portal EAR project.
For the JDK VM, I do have jdk160_21 checked. I don't have JDK1.5 installed. Do I install one?
Many Thanks! 
No need, the JDK1.6 instance should work fine. 
So I can ignore the builder warning? I thought Apache XMLBeans is separate. Why I have to use it with weblogic server?
Also I am not sure I need to start a new topic. I need API in content.jar from my EJB project. I can see content.jar under EAR project-> Merged Project Content. But the ejb can't access it. I have to copy content.jar into EAR project-> EarContent ->APP-INF ->lib. It doesn't sound right. What's the right way? Thanks! 
Yes, the warning for "tools.jar" can be ignored. You can create Apache XML Beans project w/o WLS RT.
And regarding EJB project query, it would be helpful if you can update the following information:
What version of OEPE & WLS are you working with?Also, the version of portal installed on OEPE.What is content.jar file? Please provide step-by-step instruction of the usecase.
Thanks,
Ram 
I am using OEPE(11gR1PS3) bundled with WLP10.3.4, so the WLS is also 10.3.4.
1, create a portal EAR project MyEAR
2, create a portal web project MyWeb
3, in project explorer, under MyEAR -> Merged Project Content, I can see content.jar is listed
4, create a EJB project and create a ejb that calls com.bea.content.* which is in content.jar
The error shows in the Problem view that can't resolve the com.bea.content.Node. How can I make the error go away? Thanks! 
Hi,
I am able to reproduce the problem with portal build and in my case copying the content.jar to APP-INF/lib doesn't provide access to java types. It might be helpful to re-post this query on portal forum for appropriate solution.
WebLogic Portal
-Ram

Categories

Resources