When I am installing IBM Message Broker Toolkit, I'm getting the following error
Failed to create executable extension
com.ibm.cic.agent.internal.adapters.nativeAdapter.win32.
WinPlatformOperationsProvider: org.eclipse.core.runtime.CoreException:
Plug-in "com.ibm.cic.agent.core.nativeInstallAdapter.win32" was unable
to instantiate class
"com.ibm.cic.agent.internal.adapters.nativeAdapter.win32.WinPlatformOperationsProvider"
Could you please help me regarding this problem?
Sandipan , this is a known issue. It is documented here (https://www-01.ibm.com/support/docview.wss?uid=swg21441742).
You may want to check the length of the installation path , preferably make it shorter (C:\IBM\IntegrationToolkit90 & SDPShared). You may also want to check if the installer downloaded is corrupt (With download director it usually downloads fine , with HTTP download you can have issues) .
HTH
Im working in 2 separate webapplications a back and front app.
The funny thing is when I run the back-end I don't have any issues. But in the front-end I get the following error:
I have the following error in Netbeans
NetBeans: Deploying on Apache Tomcat or TomEE
profile mode: false
debug mode: false
force redeploy: true
Undeploying ...
undeploy?path=/
OK - Undeployed application at context path /
In-place deployment at D:\WebDevel\WebStore\WebFrontE\target\Web-1.0-SNAPSHOT
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%7E1%2FAppData%2FLocal%2FTemp%2Fcontext7815575477480252472.xml&path=/
FAIL - Deployed application at context path / but context failed to start
Both are running on the same Tomcat. my colleague has the same code and it works fine :-s
Context Path (or) Context Root must be unique for each application deployed on the server.
So you can't deploy two applications with same context root to the same server. It seems for both of your applications the context path is /.
Check server.xml to see what context path both of them have. If they are not unique, then change them to solve the problem.
But if you want the same context root for both applications, then you need to deploy them in two different servers.
For more information:
Tomcat Context paths configuration
I may be a little late but would say that this could be because of the change in the factory name in Tomcat 8. So follow the below steps:
1) First, see if you are using Tomcat 8 or higher.
2) If yes, and tomcat is not able to deploy your application. Run the application in Debug mode and see stack trace in Tomcat window (at bottom. Not same as Tomcat.log). Scroll down the window and see if you can find an Exception like this:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory
3) If you see something like above, Open your META-INF/context.xml and replace or add the factory attribute in the resource tag with:
factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
4) Restart tomcat and redeploy.
While trying to deploy a spring boot web app from jenkins to an external VM I was getting the same error as below.
After I look into tomcat log I found it was for java version error. I didnt install proper java version which my spring boot application supports.
I installed openjdk 8 and removed java7 from vm and it was resolved.
The actual cause behind the below error can be many . so check your tomcat /logs/catalina.out directory for exact error. at Jenkins build log it doesn't give actual error.
FAIL - Deployed application at context path [/webapp] but context
https://www.youtube.com/watch?v=1jsKGhXmm4c
I had this problem a d after a lot of links that didn't work, found this solution. Edit the server.xml on your Tomee server to provide a fully qualified path for appBase:
<Host name="localhost" appBase="C:\apache\apache-tomee-7.0.2-plume\webapps"
unpackWARs="true" autoDeploy="true">
The following error occurs if your context has not started well.
Instance : You have context listener that calls a method and the method is not present.
My issue was a syntax error in web.xml, I didn't close an element
The tomcat window (NetBeans) had a clear errormessage, thanks Arafat
01-Sep-2018 17:34:38.641 SEVERE [http-nio-8080-exec-5] org.apache.tomcat.util.digester.Digester.fatalError Parse Fatal Error at line 50 column 11: The element type "param-value" must be terminated by the matching end-tag "".
I am also had trouble solving this kind of issue on my netbeans. I'm stack the whole day getting rid of this issue. Many solutions have been tried but still nothing happen until I tried to delete the "target" folder of my project and that solved the problem! Hope it helps! :)
I have came across this problems several times,i tried the below steps and it worked..!
1. Backup you current project(For safety).
2. Locate you project folder location (Normally found in MyDocuments or Documents folder named as NetBeansProjects).
3. Open the project folder and delete the folder named target inside your project folder
4. Close the NetBeans and re-open the it and run the project.
And you are good to go.
If the above didn't work then try deleting the xml file from the folder "Tomcat 9.0\conf\Catalina\localhost" folder.
I had this error while using Java Web due to a syntax error:
My Servlet code should be like this:
#WebServlet(name = "EleicaoServlet", urlPatterns = {"/EleicaoServlet", "/main", "/insert", "/edit", "/delete", "/update"})
But I forgot to type '/' in the "/update"
#WebServlet(name = "EleicaoServlet", urlPatterns = {"/EleicaoServlet", "/main", "/insert", "/edit", "/delete", "update"})
And I got this error.
So if nothing above works you may want to check your code, it can be something stupid like this.
I have tried
mvn clean install
and worked for me for the same problem :)
'undeployed application at context path' this error occur due to missing some file while copying project from one system to another.
while coping make sure all files should be copied.If an error occur then please recopy project and import it..
It may work..
I just had the same issue i solved by giving security permission to the user for Apache Server Foundation in root folder
in my case i removed some configuration tags that i added in web.xml,trying to configure a strut package.I also removed that package respectively,i restarted the server,run the project and it worked.
Faced the same problem # one time. In one of the instance, it was caused by a controller that had multiple methods with same route e.g
#RestController
public class UsersController
{
#Autowired
UsersInterface userInterface;
#RequestMapping(value = "/get", method = RequestMethod.GET)
public String test()
{
return "Users";
}
#RequestMapping(value = "/get", method = RequestMethod.GET)
public List<user> getUsers()
{
List<User> users = userInterface.getUsers();
return users;
}
}
As you can see, the controller has 2 methods that define two get routes, hence Spring cannot resolve the method to run the .../users/get route.
Remote one of the get routes and change it to something else.
I may be late to answer but might help others later in the future.
This could be many causes, but the most frequent personally in my case was the web.xml file servlet declarations. When I was cross developing a project both on Mac and Linux, I saw the file behave different in the two platforms due to some space or new line issues. It took me hours to find out as the servlet count was more than 20. Ultimately I narrowed down to strangely only one controller class declaration and found the syntax to be absolutely perfect. It bamboozled me, so I thought I'd rewrite the declaration after deleting the old one and BAM! It worked on Mac immediately. Strange.
I am facing this problem, after trying several other suggestions, the following thing worked perfectly for me.
Delete the following file:
/apache-tomcat-9.0.13/conf/Catalina/localhost/*.xml
This is a bit late but for anyone who might face the same error.
For me, this error was caused by wrong syntax in my servlet.
#WebServlet(urlPatterns = {"/x/login", "/x/register", "/x/logout", "x/createrestaurant"})
It looked like the above and I got the same error. After sometime and trying to deploy on a different server (from Tomcat to Glassfish), Glassfish gave me better logs and I realized the syntax should have been like this
#WebServlet(urlPatterns = {"/x/login", "/x/register", "/x/logout", "/x/createrestaurant"}).
Notice the / before x/createrestaurant.
I had the same issue with even newly added projects tried a lot of stuff mentioned above. what works for me is to manually Stop tomcat service in the Installation directory \Tomcat 9.0\bin Tomcat9w.exe. Then deployed the project it works this way in Netbeans IDE.
FAIL - Failed to deploy application at context path...
I was facing the same issue. But I resolved it. Please see the following steps:
First, stop the Tomcat service that is already running on the background, Not in the Netbeans. For this, go to TaskManager properties>Services>tomcat
Right click on the tomcat service to stop
Now, after that. Close netbeans IDE and run again
Right click on the project and select run. The project will be running without any issue
I hope above solution will be helpfull who having the same error.
One Problem could be the port you are trying to use might be being used by another application. Try changing the port or clearing that one and it might work fine.
Problem has been resolved by stopping the Tomcat server
sudo systemctl stop tomcat
so as to allow Netbeans to run it. If the server is already running when Netbeans tries to deploy an app Netbeans will display the delopy failed message.
I had the same problem, but I used only maven (without IDE). My tomcat version was tomcat7 7.0.70-1 and jdk8 (in pom.xml: <java.version>1.8</java.version>) It turned out that tomcat7 incompatible with java 8, so, I changed java.version in pom.xml on <java.version>1.7</java.version> and that was the solution!
I had same problem and I resolved this issue by stopping the tomcat from IDE and run the web application it starts the tomcat automatically.(This works in Netbeans IDE). Simply Stop Tomcat and start again and redeploy web application.
i have been struggling with installing google plugin in myeclipse config center for long and i have managed to overcome a number of issues as described below. i am using myeclipse 10.7.1 with base indigo 3.7.2.
i downloaded this zip com.google.gdt.eclipse.suite.3.7.update.site_3.6.0 and added it to available software sites.
i disabled firewall and i dont have any antivirus installed, i have no proxy server and eclipse has no problem accessing sites as far as i can see because i checked the 'contact all sites...' option other wise it would fail to install and tell me it did not find 'org.eclipse.mylyn.commons.ui 0.0.0'.
i added the line
-Djava.net.preferIPv4Stack=true
to eclipse.ini, other wise it would fail to install and tell me it could not find osgi.bundle blah blah blah.
i have been testing with both plain indigo 3.7 and myeclipse.
however, at this stage, indigo gave up all its errors and gwt is happily sitting in the toolbar.
but for some reason myeclipse goes through all the steps and just at the end it tells me it An error occurred while collecting items to be installed
session context was:(profile=com.poweredbypulse.profile-0-rb-5513151-1406359175233, phase=com.genuitec.pulse2.client.common.download.PulseCollect, operand=, action=).
Could not find repositories containing the following artifacts: [osgi.bundle,org.eclipse.mylyn.commons.screenshots,3.6.0.v20110608-1400, osgi.bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100]
and that simply marks the end of my struggle and i have to start all over looking endlessly for solution.
my local plugin repository contains plugins,features,artifacts.jar and content.jar.
i am not very familiar with osgi. however when i attempted to view its console logs, i saw 10 lines like
INFO: loading artifacts for http://eclipse.poweredbypulse.com/downloads/products/pulse/mirrors in 722 ms
aug 15,2014 9:48:45 am com.genuitec.pulse2.client.common.p2.p2bridge cacheRepositories
the last of them was:
INFO: loading artifacts for http://downloads.myeclipseide.com/downloads/products/eworkbench/jdks in 1830 ms
[Fatal Error]:11749:66: Premature end of file.
aug 15,2014 9:48:45 am com.genuitec.pulse2.client.common.p2.p2bridge processOperands
is there somebody out there who understands this issue as i have crawled the web for several hours and i have not managed to get anything to proceed from here and all my boss says is "i trust you enough to finish it within the next 24 hours"
NB. editing specific update sites is straightforward in base eclipse but i have not seen such an option in myeclipse config center i.e the list of sites in the work with combobox of eclipse are invisible ,atleast to me, in myeclipse.
I think i have the answer
i have tried to run the install again, this time paying more attention to the osgi console logs and i have captured more lines:
WARNING: unable to load repository http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/eclipse/updates/3.7
WARNING: unable to load repository http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/indigo
when i try to access the second url from mybrowser
403 Forbidden
You don't have permission to access /downloads/aux/eclipse-mirror/releases/indigo/ on this server
Apache/2.2.3 (CentOS) Server at eclipse.poweredbypulse.com Port 80
same for the second url which i have just tried.
The problem i think is the failure to access these two update sites.
I use Jdeveloper Studio 11.1.1.4.0, I use the ADF components on it, but for the last couple of days when I start the Jdeveloper, this Error comes up
Uncaught exception
java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor.config.DBConfig
o.dbtools.raptor.oviewer.base.NavSelectionListener.viewSelectionChanged(NavSelectionListener.java:176)
o.i.view.View.fireViewSelectionChangedImpl(View.java:495)
o.i.view.ViewDecorator.fireViewSelectionChangedImpl(ViewDecorator.java:59)
o.i.view.View.fireViewSelectionChanged(View.java:485)
o.i.view.View.updateSelectionImpl0(View.java:444)
o.i.view.View.updateSelectionImpl(View.java:429)
o.i.view.View.updateSelection(View.java:306)
o.ideri.navigator.DefaultNavigatorWindow$4.viewSelectionChanged(DefaultNavigatorWindow.java:1108)
o.i.view.View.fireViewSelectionChangedImpl(View.java:495)
o.i.view.View.fireViewSelectionChanged(View.java:485)
o.i.view.View$2.actionPerformed(View.java:349)
jx.s.Timer.fireActionPerformed(Timer.java:271)
jx.s.Timer$DoPostEvent.run(Timer.java:201)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEvent(EventQueue.java:597)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
I can't find the Database Navigator either and also this error also comes up when I use anything related to the database, I tried to uninstall the Jdeveloper and removed the middleware folder and reinstall everything to get the default but still same story.
I really need a fix for this ASAP because I'm already behind schedule on my graduation project.
Thanks.
check your classpath, there must be a problem here, verify the JDevelloper folder is in
I get the following error in Endeca:
com.endeca.navigation.ENEException: Navigation Engine not able to process
request `http://myhost:15000/search?terms=remote&rank=0&offset=0&irversion=601`
My MDEX version is 6.3.0
The referenced jar files in my app is:
endeca_navigation.jar : Specification-IR-Version: 6.3.0 (Read from MANIFEST file)
endeca_logging.jar: Specification-Version: 6.1.2 (Read from MANIFEST file)
Even with these referenced jars, why is the request parameter still irversion=601?
I'm using java 1.5 and building my app in eclipse. At first, it was referencing older jar files (601), but i removed those completely and replaced them with the newer jar files listed above. I've rebuilt my app and I still see the parameter irversion=601. I've been trying to find out what the issue is for a few hours, but i'm having no luck.
Any ideas?
If nothing else I think that you need an N=0 parameter for you request to work.
Also if you are using an application server like Weblogic to run you app, it has a tendency of caching referenced jars which may have to be cleared for it to pick up the new versions of the jars.
Finally if all else fails there is a --back_compat 601 parameter on your dgraph which indicated the accepatble navigation.jar versions. You can use this parameter to determine if the issue is the jar version or something else in between.
Good Luck
Additionally to Wiszh's response, it is useful to take a look at the dgraph request query logs (located in /logs/dgraph/Dgraphxx/Dgraphxx.log and .reqlog) which will show a more specific error and the query that caused it.
Do your jars match the version of Endeca server you are querying?
This issue is due to an old navigation api jar in your class path
Check the ToolsAndFrameworks\version\assembler\lib to get the correct version of navigation api jar. That should fix this issue.
correct jar path fixed the issue for me
ToolsAndFrameworks\version\assembler\lib