I am using Netbeans 6.9.1. I want to create a stub for my server class. I got stuck there. Browsing through several StackOverflow forums, i found varied answers, which ranged from "no need of creating a stub" to "modify the build.xml". I tried the latter, but it did not work. Can someone please tell me what I should do? Is there any plugin of some sort that I can use? (I did not find any)
http://netbeans.org/projects/rmi/ shows a 404 error. :(
Vikram.
I want to create a stub for my server
class.
Why? Stubs haven't been needed since 1.5 came out, many years ago now.
Related
I need some of your help.
I searched everywhere on the internet, but I could not find how to create a plugin for Gaim, the predecessor of Pidgin.
I do NOT want to create a Pidgin plugin. I want to create a Gaim plugin, but since Gaim is very old, well, it is hard to find documentation for it.
(PS : If you know how to write a plugin for Gaim, please note I want to make one for Windows - not Linux.)
(PPS : I'm french. Sorry for my bad English.)
You're going to run into a number of issues here...
First off, Gaim hasn't existed for 15 years, and of course we (the Pidgin core team many of who got involved during the Gaim days) aren't going to support it for that reason.
Secondly, building on windows has always been a pain for us as we had to carry all of the dependencies. I imagine most of the links that you might find are all long dead because of the 15 years that have passed since that. That said you might be able to get away with using our win32-dev directory from https://data.imfreedom.org/pidgin/win32-dev.7z but of course that's completely untested and that directory is used to build the Pidgin 2.x.y releases.
Finally, as you've found out, most of the documentation from Gaim has been gone for a very long time. We did set up https://gaim.pidgin.im as a joke which was the last copy of the site we had before the rename, but there's not much there when it comes to development documentation. So your best bet is to look at existing plugins. I still have the source code for guifications1 available at https://keep.imfreedom.org/grim/guifications1/file/default.
I am trying to do a BPEL Hello World Project, I am following this link "Hello World BPEL"
I am doing everything as stated up to step 13 (however, I do not get a blank wsdl screen as stated in the tutorial, I have to modify the existing elements rather than creating them).
In step 17, as per the tutorial, I should get the associated port, but what I am shown is blank. (The drop-down is empty).
Can anyone tell me what I am I doing wrong? How do I get the correct port here?
I am using eclipse luna and apache ode server 1
Thanks
I think you should look into this video. I am pretty sure you missed something like I did a couple of times using the same tutorial. I for sure found it helpful while getting started with BPEL on the latest Eclipse Oxygen. However, I must say you should also know about Open-ESB. It is an another IDE built on top of Netbeans and is powerful as well. It is too supported by proper documentation and has some neat examples in the Sample projects. ;)
Im working with Oracle WebLogic, Netbeans 6.9.1.
I have the following lines of code:
Query query=entityManager.createNamedQuery("Items.findById").setParameter("id", Integer.parseInt((String) request.getParameter("id")));
Items it=(Items) query.getSingleResult();
and they throw an exception:
java.lang.ClassCastException: entity.Items cannot be cast to entity.Items
Even if that seem impossible, i saw similar question on SO: here
Author havent published the solution but one of participants made a good asumption about different class loaders.
Meanwhile if i use getResultList and then work with it in JSP, it works fine. But i cant make casting work in servlet code.
How can i fix this in weblogic?
It doesn't solve your problem specifically, but if you're using WebLogic Server 10.3.x or thereabouts, there is a web application provided as part of that distribution that you can use to troubleshooting classloading issues.
You can read more about it here: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/classloading.htm#WLPRG495
It should be compatible with earlier versions of WebLogic Server, so you could use that in conjunction with the proposed workarounds to get to a solution.
See this similiar question with a proposed workaround.
This indeed looks like a classloading problem.
This earlier answer of mine explains how to verify this assumption.
Unfortunately, classloading problems are difficult and painful. There is no easy fix, only to try to understand what classloaders are loading what classes in which order, and trying to play around with your classloaders, classes and jars to eliminate the problem. Also, analyse the most recent changes in your app before this error appeared - these can provide the key to understanding the root cause.
I am not familiar with the classloading scheme in WebLogic, so unfortunately I can't give you any more specific advice.
I am looking for the gettingstarted.zip or the examples in the jboss tutorial, but could not find them, especially the sources for the jsfejb3 example. Are these examples removed from the distribution or am I to stupid to find them?
Do you mean the example shown in http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3/html-single/Getting_Started_Guide/index.html#About_the_Example_Applications ?
If so it's available in the "Application Platform 4.3.0.GA_CP09 documentation" available from https://access.redhat.com/downloads/
this might be what you are looking for JBOSS Start Guide.zip, also maybe try JBoss Sourceforge page
edit: try this maybe JSF-EJB3 Example
and these guys LINK seem to have got working what you are having trouble with maybe something in thier posts can help
I'm trying to set up Nuxeo's examples, but I can't get them working. Does someone succeed in compiling and deploying them ?
I know it uses JAX-RS, but I'm still trying to set up a project with Eclipse to generate bundles, and I'm quite lost. I would be very happy if someone could give me a compiling project, or a link for a simple and clear documentation.
Thanks for your help.
Which examples are you trying to run ?
Did you look at http://doc.nuxeo.com/ ?