project 1 « netbeans « Java Enterprise Q&A





1. Can't find service method in Netbeans J2EE project    stackoverflow.com

In NetBeans 6.7.1, I have made a j2ee project, In this project I have Servlet that extends HttpServlet,
Of whatever little I know about servlets, they should have a service method however ...

2. How do I upgrade an existing enterprise project from Java EE5 to Java EE 6 in Netbeans (6.9)    stackoverflow.com

The project has an EJB module & a web module. Changing the server is easy, but I'd like to switch to EJB 3.1 also but I believe I need to change ...

3. In NetBeans, how do I convert a "Java Application" Project to a "Web Application" Project?    stackoverflow.com

In NetBeans, how do I convert a "Java Application" Project to a "Web Application" Project?

4. Setting up Apache Velocity in a NetBeans WebApplication project    stackoverflow.com

I'm struggling to setup Velocity within my WebApplication project. I've been googling all around for a couple of days now ad can't really get this going. (By the way, I'm using ...

5. Set Context and Dependicie Injection on Netbeans (after project creation)    stackoverflow.com

I'm developing a J2EE project with NetBeans. When I created the project I didn't check the "Enable Contexts and Dependency Injection" option. Is it possibile to change the option after the project ...

6. How do I downgrade an existing project from Java EE5 to J2EE 1.4 in Netbeans (7.0.1)    stackoverflow.com

I've created a new (Web Application) project in Netbeans 7.0.1 and set the Java EE version to Java EE 5. The options that I then have for the Source/Binary Format (Project ...

7. Project Help    forums.netbeans.org

Hey everyone... I would like someone to help me with the process of developing a webservice which incorporates both google maps and any search engine,through which i can search for any ...

8. Cannot select server for new project    forums.netbeans.org

I took a clean install of NetBeans 6.5.1 Then I took a clean install of Glassfish V3 prelude I start the EDI, add the server to the servers section using Tools ...

9. I cannot open my own project! It halts at 50%    forums.netbeans.org

I have been working on a visual web project for some time now, using hibernate and have configured my mysql server. However something happened and I can no longer open the ...





10. Visual Web Project (Woodstock) Table    forums.netbeans.org

Thanks in advance I got a lot of questions about Visual Web Project (Woodstock)... But today I got this one: I need a Table with some caracteristics, I neet to filter ...

11. Netbeans configuration file for woodstock projects ... Please help    forums.netbeans.org

Hi, Please help I have been developing an application in woodstock, but I have some problems with my netbeans configuration. And I'm not saying that I have problems (like bugs) with ...

12. Directory Structure for J2EE Project    forums.netbeans.org

Hi All, Can any one please help me to understand the directory structure in netbeans..??? Where to place the following files in the netbeans directory structure (1) web.xml (2) struts.xml (3) ...

13. Project created with J2EE1.4 the webservice client type was disabled    forums.netbeans.org

Dear all, I had created a web Application Project with Netbeans 6.1 run through Tomcat5.5 using J2EE 1.4 was unable to change the web service client type from JAX-WS to JAX-RPC ...

14. How to share api from web project to other project    forums.netbeans.org

I have two web projects, A & B, in A, I have some api in package myweb.mypackage.*, I would like to share them to other web project B. I don't want ...

15. How to run these projects    forums.netbeans.org

Hi All, I have just started reading EJB in Action by Debu Panda,and i downloaded the sample source code from this link: http://manning.com/panda/codeexamples-javaeesdk.zip This zip folder contains 13 chapter folders and ...

16. Java EE 5 projects portable to Java EE 6 ?    forums.netbeans.org

I have done a project using Netbeans 6.7 and Java EE 5. Will this be portable to the next version of Netbeans which supports Java EE 6.





17. unable to create Java EE 6 web projects (on Mac)    forums.netbeans.org

Hi, I've installed the GlassFish and Java EE 6 SDK Preview , and have added the GlassFish v3 Enabler plugin in the IDE. But when creating a new web application, but ...

18. New Server does not appear on old project    forums.netbeans.org

Hi, I just have installed the tomcat 5.5.4 on my machine. I installed this new server on netbeans now when i try to change the server to run on project properties, ...

19. Enable to start Glashfish server with Mural project    forums.netbeans.org

Hi, I am using netbeans 6.7.I created one project of mural using oracle 11g as database.I created database connection successfully through DOS .Also I successfully build the ptoject through ANT.But I ...

20. Cannot set JAX-RPC style for Web project Web Services Client    forums.netbeans.org

I am using NetBeans 6.5.1 for a J2EE 1.4 web project running on JBoss-GA.4.2.2. I need to add a J2EE 1.4 compliant Web Services client to the project, but NetBeans only ...

21. some .class files disapear when i execute my project    forums.netbeans.org

Posted: Tue Sep 08, 2009 9:57 pm Post subject: some .class files disapear when i execute my project when i build my application Java, i can wath in ...

22. location of catalogManager.properties in web project    forums.netbeans.org

Hi, I have a web project which is deployed to a glassfish server , this application makes use of an entity resolver to resolve URIs to our locally cached dtds . ...

23. idea for a project with webservices    forums.netbeans.org

Hello!!! I'm studing webservice and REST technologies. I want to realize a small project using this kind of technologies (ws-* in general) and I'm looking for an interesting idea. Do you ...

24. Creating Java EE5 project in SJSAS 8.2    forums.netbeans.org

Hi, I am using Netbeans 6.5.1 and I need to create a Java EE5 web application on Sun Java System Application Server 8.2. It is stated on http://docs.sun.com/app/docs/doc/819-4707/gbqgn?a=view that - "The ...

25. Changes not reflected in the project(workspace) in 6.7.1    forums.netbeans.org

I just simply added System.out.ptintln("......"); in my java class and saved and 'clean and build' it. But it is not reflecting in output screen(i.e.,console too) Please can you tell me what ...

26. Problem with migrating JavaEE project from XP to Vista    forums.netbeans.org

Posted: Thu Dec 10, 2009 12:22 pm Post subject: Problem with migrating JavaEE project from XP to Vista Hi all, I try to migrate my JavaEE netbeans project ...

27. Securing an Enterprise project    forums.netbeans.org

javaislife Joined: 20 Jun 2009 Posts: 12 Posted: Thu Dec 17, 2009 11:41 am Post subject: Securing an Enterprise project Hi All... I have created an 'Enterprise Project' ...

28. Problem: need to run a single class in a Java WebApp project but option is grayed out    forums.netbeans.org

I just need to run a simple test like a scratch pad for code. I don't need to deploy to an appserver to run or debug it -- I just need ...

29. Two web services on the same project    forums.netbeans.org

Hello ! could someone do this? I want to develop two webservices that have shared objects. The methods of the web service that was created first are accessible. But the methods ...

30. "New Project" wizard hangs    forums.netbeans.org

I have a little problem with NetBeans 6.8. I try to create a new Enterprise Application Client project, I correctly fill the fields and click on Finish button. At this point, ...

31. Sharing common code between Java Projects?    forums.netbeans.org

I have 2 web applications that are very similar and share a lot of the same code. I have googled all day and can't find a straightforward answer to this question: ...

32. Missing sun-application.xml in JavaEE 5 project    forums.netbeans.org

I have created an EAR project with netbeans 6.8 including an EJB project. The problem I have is how to secure my EJB's ? I want to use a JDBCRealm on ...

33. Changing the server for a web project    forums.netbeans.org

Hello All, I have a web project which is running on tomcat for now. I want to shift to JBoss, but I cannot find any option in the netbeans to do ...

34. import WAR into project ?    forums.netbeans.org

I am using Netbeans 6.8. Do we have a way to import a WAR file into workspace and convert it to a web project, just like Eclipse did ? Thanks.

35. How to create a java web project WITHOUT choosing a web server?    forums.netbeans.org

Hi! I want to create a java web project with netbeans, but it demands a local web server. I neither have nor want a locally installed webserver. I'd like to deploy ...

36. Problem with migrating JavaEE project from XP to Vista    forums.netbeans.org

Do you mean that every \ is replaced with // or just at the beginning? for example does resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml" become resource="org\\netbeans\\modules\\java\\j2seproject\\copylibstask\\antlib.xml" 3rd day trying to get this working so any of ...

37. Java code not created for components added in design view of a j2EE Visual Web Pack project    forums.netbeans.org

I'm new to J2EE & using Netbeans 6.7. Creating a new project using Visual Web Pack. Added components to the design view but definition of the component is not created in ...

38. Adding a web app as a compile time library for another web project    forums.netbeans.org

I don't think so, but you cann pull the common stuff out into a 3rd Java project and include that project in both web app libraries. aaron_p_a wrote:

39. Include a desktop application in a JEE project.    forums.netbeans.org

Hi, I have a JEE project created in netbeans. I was looking at the tutorials - http://netbeans.org/kb/docs/java/gui-db-custom.html http://netbeans.org/kb/docs/java/gui-db.html And I wanted to include a desktop application like the above in my ...

40. JavaFX and web app project    forums.netbeans.org

Hello I have a JavaFX project and Web Application project. How should I link these two to work together on an application server? Any sample somewhere? Thank you, Ladislav.

41. The NetBeans Sample Project Catalog    forums.netbeans.org

Hi, I would like to try the ecommerce sample from the catalog, but I do not know how to build it. I have downloaded all the files and now I would ...

42. How to add additional configuration file to NB6.8 projects    forums.netbeans.org

Hi, I wonder how to add additional configuration files to NB6.9 projects, like facelet tag library descriptor XML. For a web application project, there's a "src/conf" folder for IDE's "Configuration Files" ...

43. JavaEE Project with 2 webservices???    forums.netbeans.org

We build 2 stateless ejbs and then add the @Webservice annotation to each of them. These 2 ejbs have classes that are similar but are in different packages. For example com.d.Trans ...

44. problem in running the j2ee 1.5 project    forums.netbeans.org

i have just converted j2ee 1.4 project to j2ee 1.5 version. when deveployed on tomcat server its not running. the following error had come (1)SEVERE: Exception sending context initialized event to ...

45. How do i retrieve the project folder path?    forums.netbeans.org

ClassLoader loader = davePackage.myBean.class.getClassLoader(); URL url = loader.getResource(" ."); File file = new File(url.getFile()); file.getAbsolutePath();

46. Can't create new "enterprise" project    forums.netbeans.org

Posted: Tue Apr 20, 2010 3:20 am Post subject: Can't create new "enterprise" project I'm running netbeans 6.7.1 on Ubuntu Karmic. On the services tab I added a ...

47. Project Coder Needed    forums.netbeans.org

Hello, I am not sure if this is the right forum for this. So if not, please point me too the right one. I am looking for a coder to help ...

48. Building a Project Outside of NetBeans    forums.netbeans.org

Hi, Now that my Java NetBeans project is complete is there a way to build it outside of NetBeans (for example, with straight javac)? This would further enhance it's portability by ...

49. Hierarchical view of projects    forums.netbeans.org

Hi All, How can I have a hierarchical view of my projects? I mean, how can I have my java packages ordered hierarchically instead of the traditional way (full path)? Regards... ...

50. Created wrong project type    forums.netbeans.org

Sorry if this seems totally stupid. I am creating a server with beans and web services ... no dynamic web pages. Evidently I created the project as an EJB module ... ...

51. run jee5 project on NetBean    forums.netbeans.org

I want to try to example on http://java.sun.com/javaee/5/docs/tutorial/doc/ I import the bbokstore1 project on my NetBean , but when I try to build it , I get error package javax.persistence does ...

52. NetBeans N00b needs help; project can't find its own packages.    forums.netbeans.org

Hello all. I have this problem, or rather, I have two. The first problem is my own inexperience with Java. Last time I had to do something with Java was 13 ...

53. WebJpa Sample Project persistence.xml Issue    forums.netbeans.org

NB Dev Team, I was running the IDE through its paces and found a simple to fix error in the WebJpa Sample project. The persistence.xml points at a Data Source called ...

54. Adding a data source to groovy project?    forums.netbeans.org

Posted: Wed Jun 30, 2010 7:01 pm Post subject: Adding a data source to groovy project? Apologies if this is in the wrong forum -- will move to ...

55. Building project outside netbeans    forums.netbeans.org

Hello! I want to build my projects based on hudson (hudson-ci.org). How can I build my NB project outside Netbeans - just based on ANT? I somehow have to pass the ...

56. Re: Building project outside netbeans    forums.netbeans.org

Hudson has a number of modules to handle auto-deployment. Usually, I have Hudson pull the source from Subversion to start, but if you go to the Services tab on NetBeans 6.9 ...

57. How can I dev a WAP 1.1 project?    forums.netbeans.org

the "unkown tag" message shows in JSP editor. I used netbeans 6.0,there are no such problems.Buy i am currently switching to WINDOWS7 64,seems netbeans 6.0 can not work on it properly. ...

58. Building java project from old sources    forums.netbeans.org

Hello. I am trying to develop an old open source java application. (Alice 2.0) It was developed and released in 2005, so it's compiled with an old java version. 1.3.1_10_ as ...

59. SplashScreen from java project not initialized in NetBeans    forums.netbeans.org

Hi, I have a java application that uses splashscreen, defined through manifest.mf file (SplashScreen-Image: analizazaliha/resources/splash.png). For some reason, when i run or debug project from netbeans, the splas is not loaded ...

60. Netbeans 6.9 Web Project - images don't display    forums.netbeans.org

I've downloaded and installed Netbeans 6.9. I create a simple Web Project using Glassfish 3 as my server. I have 1 servlet and 1 image. The image is in an images ...

61. Convert project javaEE 5 to javaEE 6    forums.netbeans.org

I have created a javaee 5 project with NB 6.7.1 and moved from NB 6.8 over to NB 6.9. Now I also switched to glassfish v3.0.1. All is working fine but ...

62. Project specific options    forums.netbeans.org

Hello everyone, I'm not sure this is the right place to ask this, so just bare with me if not. I'm writing a plugin for netbeans that deals with C/C++ projects ...

63. How do i add a java class to an existing project??    forums.netbeans.org

chaoscreater Joined: 06 Aug 2010 Posts: 5 Posted: Fri Aug 06, 2010 11:39 pm Post subject: How do i add a java class to an existing project?? Hi ...

64. How do i add a java class to an existing project??    forums.netbeans.org

chaoscreater Joined: 06 Aug 2010 Posts: 5 Posted: Fri Aug 06, 2010 11:40 pm Post subject: How do i add a java class to an existing project?? Hi ...

65. Project folder was just in use.Please restart the IDE to reuse folder    forums.netbeans.org

Hi. When ever i try to open any project in netbeans i get this error. In my case i am trying to open an "web application with existing sources" and am getting this error. And hence am not able to open any project. Can any one please help me this problem. Badly stuck. Thanks.[/b]

66. Java Standalone Program run within webapp project    forums.netbeans.org

Hello. I recently started using NetBeans IDE. I cannot figure out how to run a standalone interactive program in the IDE. I'm developing a web application project. I want to run some database load programs using a java standalone program that is part of the webapp source tree. I want to run the standalone program inside the ide. When I try ...

67. integrating jflex and byacc/j into java project    forums.netbeans.org

I am porting an old flex/yacc C project into Java. I am using jflex and byacc/j. So far things are going great, on the command line. I would like to integrate my proj.flex and proj.y files into a netbeans java project. I'm thinking I need to edit my build.xml file something like the following... ...

68. creating a template for my web project    forums.netbeans.org

69. Issues moving J2EE projects from NB 6.7 to NB 6.9 java.lang.ThreadDeath    forums.netbeans.org

I am having issues with NB 6.9.1. also. I also upgraded to 6.9 from 6.7, however when I try to deploy my J2EE projects to JBoss I keep getting .. Caused by: java.lang.ThreadDeath at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1221) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:460) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:454) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:406) Note: All these projects work correctly in 6.7 when deployed using NB 6.7. All my ...

70. Creating Web services in FreeForm project    forums.netbeans.org

71. Opening a java Linux project in Windows System    forums.netbeans.org

Hi, I have created a java web project on a linux system. Now i am trying to open the project in a Windows system. I am not able to open the project files. It is not throwing any error also. Can someone help me. Its very urgent. Thanks in advance. regards, Sai.

72. Help with debugging Java EE project    forums.netbeans.org

In the past I've been able to debug code, but something has happened. I have even uninstalled and reinstalled NetBeans and JDK but always the same problem. I'm getting the project from SVN. Can anyone tell me what the following output means, and how to fix it? connect-debugger: Non-existing path "F:\NetBeanProjects\WalletShare.ear\${javac.classpath}" provided. Non-existing path "F:\NetBeanProjects\WalletShare.ear\${run.classpath}" provided. F:\NetBeanProjects\WalletShare.ear\nbproject\build-impl.xml:417: The following error occurred ...

73. what must I put in the main class field of an enterprise app project?    forums.netbeans.org

hello, I created a enterprise application project in netbeans 6.9.1, with 2 modules : a client and an EJB module. in the client I have a main method in which I put : System.out.println("hello"). but when I launch the enterprise application project, I have this error : ******************************************************************* Unable to access jarfile /home/lolveley/NetBeansProjects/pam2_demarrage_ok/${client.jar} Java Result: 1 ******************************************************************* I think the error ...

74. debug main class in a web service application project    forums.netbeans.org

Hi all, perhaps this is a so simple issue but i'm getting crazy with it , and i don't find solutions on the forums neither searching through internet. I've created a web service server project and i've attached a class who provides main() entry routine. I'd like to launch it will i'm debugging the web service part with glassfish server. Watching ...

75. build web project    forums.netbeans.org

76. Netbeans create project problems.    forums.netbeans.org

77. Opening project files in NB Visual GUI editor    forums.netbeans.org

If I create a project by doing the following... 1) Create a web application project 2) Create entities using "Create Entity Classes from database" 3) Create JSFs using "JSF pages from entity class" ... is it then possible to edit the pages using the Visual GUI editor to move things around on the pages? I can't seem to find any files ...

78. Need files from other project    forums.netbeans.org

Have Netbeans 6.9.1 on a Mac OSX and how do I add some files from one project to another? I tried adding the files to the project but I get an error (Package Folder Already Used in Project) then I created a group project and it doesn't seem to be working. Hope you can recommend a fix.

79. Setup a netbeans project    forums.netbeans.org

Hi there. I need someone's help to setup my netbeans project. I work in a company where we use Eclipse but I prefer netbeans and would like to change for it. My problem is that I do not know how to do. The project is a huge piece of more than half a million line of code that result in 4 ...

81. Assist on a NetBeans 6.1 Web app project    forums.netbeans.org

84. new installation of netbeans BUT can't get WS project available in list why?    forums.netbeans.org

You probably need at least the SOAP Web Services plugin. The Axis2 Support from the NetBeans Beta repository is also useful. I've written an Axis2 service running on Tomcat that is consumed by a C#.NET console application. I used SharpDevelop on Windows to develop the C#.NET application. . . . just my two cents. /mde/

85. Unable to run j2ee project on second time    forums.netbeans.org

86. Problems with setting project properties    forums.netbeans.org

Hello, I'm using netbeans 6.9.1 and Tomcat6. When I create a new web-project, I set the FRAMEWORS to JSF 2.0 and PREFERED PAGE LANGUAGE to Facelets. The created Index.xhtml says "Hello from Facelets". If I now look to my Project Properties, the PREFERED PAGE LANGUAGE is set to JSP. I can change it to Facelets and save this settings, but if ...

87. Problem using multiple projects for a single program    forums.netbeans.org

Hello I was wondering can eneyone help me with this. My problem is that I have several projects for my database program and one main project that binds these projects together and from which i can open these project but i seem to be unable to lunch these projects trought the main project (it dosen't connect to database for some reason). ...

88. Warning when run/save the project    forums.netbeans.org

89. Building the Project with JMF    forums.netbeans.org

Im using Netbeans 7.0, and created a software the basically snapshots the user with the webcam connected via USB and I am using JMF (Java Media Framework). Whenever I run the project (via F6), I successfully got it to run normally. However, when I build the project (via F11) and run the .jar file, it gets an error which is that ...

90. Standard Project Template 'Web Application' is missing    forums.netbeans.org

Good evening. It is my first trial of this Netbeans IDE 6.9.1. and this Apache Tomcat 7.0.12 . New Project > Choose Project > Categories: I select 'Java'. I wonder why I do not find as 'Standard Project Template' in 'Projects:' either 'Web Application', or 'Web Application with Existing Sources'. Q.1) What do(did) I have to do to get also these ...

91. empty project does not run    forums.netbeans.org

robikshrestha Joined: 31 May 2011 Posts: 1 Posted: Tue May 31, 2011 4:36 pm Post subject: empty project does not run I installed netbeans and created a web application project, did not do anything else and tried to run it. It says the module was not deployed. How to solve the problem? and what is the problem?? Listening ...

92. Is Woodstock project abandoned?    forums.netbeans.org

Hi all, Usually you see the Woodstock releases every two weeks. And there were no releases for more then a month. So I am just wondering whether Sun abandoned this project. I tried to post the same question on Woodstock forum and I did not get an answer for two weeks. I know Woodstock is the heart of visual web development ...

93. problem clean and building a project    forums.netbeans.org

I have a pom.xml file which has 28 lines in it. It appears that only 13 of these can be processed. When it reaches the 14th I get the following error: Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.10:wsimport (default) on project aimwsstubs: Error executing: wsimport [-s, C:\NetBeansProjects\aimwsstubs\src\main\java, -d, C:\NetBeansProjects\aimwsstubs\target\classes, -b, C:\NetBeansProjects\aimwsstubs\jaxb-bindings.xml, http://??????:8080/services/AimOrganizationService?wsdl] -> [Help 1] If I move the line getting the ...

94. Automatic J2EE project builds    forums.netbeans.org

I'm trying to implement a continuous integration setup and need to be able to check a netbeans project out of source control, build it, and run JUnit tests automatically. The problem is people checking into source control have various J2EE server configurations they're using for their development. It doesn't seem to want to compile unless I first load it into the ...

96. Main Class not found after building project    forums.netbeans.org

Hello, I'm quite new to this Forum and didn't find anything in the search, so please just give me a link if I've overseen something. I just started my first Java projects and everything works well; I can run the project without any problems inside Netbeans. But as soon as I build the project and try to execute the .jar file ...

97. PROJECT J2EE    forums.netbeans.org

98. injection problem in web project    forums.netbeans.org

Hello, I am trying a very simple injection of one managed bean into another. I have an Application Scoped bean that I am trying to inject into a Session bean. For some reason the injection never occurs. I am using Glassfish 3.1.1 build 12 and ubuntu 64 bit. The jre is Open JDK 6. I end up getting a null pointer ...

99. Web Service project: Netbeans modifies web.xml and sun-jaxws.xml    forums.netbeans.org

Hello, when I create or open a web service project (using Metro as JAX-WS implementation and Maven as build system) in Netbeans, Netbeans modifies the files web.xml and sun-jaxws.xml. In particular, in web.xml it creates one Metro servlet for each webservice, and it also adss one entry per service in sun-jaxws.xml The problem is that I need more control over the ...

100. Problem running web project on ubuntu(build failed)    forums.netbeans.org

I have got a big problem, i am trying running a web project since 3 weeks. Tomcat start without problem but when the project is been deploying i have the following error message : Deployment error: Starting of Tomcat failed. See the server log for details. When i look tomcat log, i have the following: " aot 09, 2011 8:46:41 AM ...