Problem with NetBeans & Glassfish

Hi
I have done the "Simple Web Application Using a MySQL Database" tutorial. I got it to work with NetBeans 6.0. I then desicied to upgrade to 6.1 (uninstalled 6.0 and the Glassfish). After installation a run the application again with the following error (the four last lines):
Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...
MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_12] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
F:/Program/glassfish-v2ur2/domains/domain1/config/.__com_sun_appserv_pid
ADM0001:SunoneInterceptor is now enabled
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
WEB0114: SSO is disabled in virtual server [server]
WEB0114: SSO is disabled in virtual server [__asadmin]
ADM1079: Initialization of AMX MBeans started
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://192.168.0.167:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
WEB0302: Starting Sun-Java-System/Application-Server.
JBIFW0010: JBI framework ready to accept requests.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
SEC5046: Audit: Authentication refused for [admin].
Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
SEC5046: Audit: Authentication refused for [admin].
Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
I'm abel to log in onto the Glassfish server from the admin tool. But it seams that i can't logg in from the application. How do I handel this problem?
Best regards
Jonas
Edited by: Lun on May 4, 2008 1:12 AM
Edited by: Lun on May 4, 2008 1:14 AM
Edited by: Lun on May 4, 2008 1:16 AM
Edited by: Lun on May 4, 2008 1:18 AM
Edited by: Lun on May 4, 2008 5:29 AM

Im using "+JSF 1.1.02 Ri Run time suport -deprecated+", that library dont need to be include in the project becouse glashfish support it, (I thing)
And I add Myfaces 1.2.2 with Tomahawk 1.1.6, becouse I need a jscookmenu, and tomahawk bring it. and Glassfish v2

Similar Messages

  • Problem with Netbeans IDE 5.0: Building Gui

    Hello,
    I have the following problem with Netbeans IDE 5.0 (I made the same with netbeans 3.6 and it works properly):
    Step 1) Create a myJPanel class (new JPanel Form)
    Step 2) make a simple operation on myJPanel such as adding a JTable.
    Step 3) Create a myJForm Class (new JFrame Form)
    Step 4) Adding a JPanel to myJFrame (default name jPanel1)
    Step 5) Select JPanle1 within myJFrame and go to code-> custom creation code and write "new myJPanel();"
    this should set the jPanel1 (and all its contents and behaviours) created
    in step 4 equals to myJPanel();
    Step 6) run myJFrame;
    ........ and nothing happens. It is dispalyed just a gray JFrame.
    It seems that myJFrame is able to istantiate myJPanel() but is not able to paint it. what's wrong?
    Hope you may help me,
    thx

    Unfortunately, Netbeans 3.6 files and Netbeans 5 files are not compatible. Except the Java source files, Netbeans uses other aditional files such as xml files etc for forming GUI and other reasons. I have also faced the same problem with you. Good luck.

  • Problem with Netbeans 7.1 and ME SDK 3.0.5 plugin

    Hi!
    I have problem plugin ME SDK 3.0.5 to Netbeans 7.1. When I try to install plugin into Netbeans I get this kind informations:
    Warning - could not install some modules: Profiler (Java ME Projects Support) - The module named org.netbeans.modules.profiler/1 was needed and not found. Java ME SDK CPU Profiler Snapshot Viewer - The module named org.netbeans.modules.profiler/1 was needed and not found. 5 further modules could not be installed due to the above problems.
    Does anyone know what is wrong?
    I am truly grateful for the answer!

    Hi Anvi,
    I think you posted in the right place as the J2ME SDK Team read this forum (though they sometimes don't respond promptly as we would have liked). I also got the same issue as you, but check out the responses by the J2ME SDK Team to: https://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    It seems there are issues with Netbeans 7.1, and they are fixing things for the next release for Netbeans 7.1.1 so I am sure they are aware of problems that we are encountering. Its fine for Netbeans 6.9/7 if you cannot wait though.

  • Need help!!!! GUI problems with netbeans

    i have a problem with the interface i created using netbeans.
    i created a JFrame, inside it a JDesktopPane, and inside that 3 JInternalFrames. the problem is in one of the JinternalFrames, i have 4 radio buttons which i forgot to add to a buttongroup and whenever i try to do that, the GUI doesn't work anymore. The bigger problem is that if i undo the changes, the thing still doesn't work and i have to copy my backup project folder over the one i work on to get an output.
    i tried to edit the source code to add the 4 buttons to a button group but netbeans won't let me since i created the buttons thru it not by writing it myself
    please i really need help with this and i hope its a stupid thing i'm just overlooking.
    If u need the code, i will gladly post it.
    thanks in advance

    if you're not using a netbeans-specific layout manager, copy the working code
    into notepad, make the changes, then compile and run from the command prompt.
    if all works OK, dump netbeans

  • Problem with netbeans and WTK.

    Hi I reinstalled my computer...
    I have installed "J2me with netbeans "
    when I am running my project (the build is ok)
    my emulator refuses to load or when it lodes it "fly" out after few seconds
    I traied to reinstall netbeans ,
    instaled WTK in a different folder (then inside netbeans)
    but nothings seems to work
    I am hopeless...
    PLz HELP!!!

    Hi Anvi,
    I think you posted in the right place as the J2ME SDK Team read this forum (though they sometimes don't respond promptly as we would have liked). I also got the same issue as you, but check out the responses by the J2ME SDK Team to: https://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    It seems there are issues with Netbeans 7.1, and they are fixing things for the next release for Netbeans 7.1.1 so I am sure they are aware of problems that we are encountering. Its fine for Netbeans 6.9/7 if you cannot wait though.

  • Java card plugin problem with NetBeans 6.8

    Hi, I've got a problem with the netBeans 6.8 i couldn't add a java card plugin at all. I try to run it with the netBeans 6.7.1 and it installs the plugin and adds the java card platform, but when i try to build a sample project I've got an error:
    java.lang.NoClassDefFoundError: ${javacard/packagerClass}
    Any ideas
    Netbeans versions: 6.7.1, 6.8
    JavaCard version: JCDK3.0.2_ConnectedEdition
    OS: WindowsXP

    first idea of all: isn't there a netbeans support forum/mailing list/plugin page ?
    regards
    sebastien

  • Problem with netbeans IDE

    hey! i am a learner of j2se 5.0 and am horrible at command line compiling. so i use netbeans IDE and well it has been doing excellently till now.
    recently i had a porblem with ImageIcons and i found the exact problem which i was having but with repect to applets , that is, the images were not displaying properly. i have managed to solve the problem as far as applets are concerned, but it is not so with applications.
    the thing is when i use the run function of the IDE, it displays all icons perfectly and its as if nothing is wrong.
    it creates a .jar file which when i separately click to execute by going to its folder, does so but does not display any images. In fact it executes and behaves in such a way that it's exactly as if i have not used icons in the program- it displays everything else. should i change some setting of the IDE? but if some setting is to be changed, y is it running normally when run from the IDE( F6 key).
    also when i used the command line (after some research to learn to use it) to extract all files from the .jar file, all the images were in it!!!as well as all the class files. so i can't even say that the IDE has not bundled up the images into the .jar file.
    could some1 please help??i need help with .jar files and not applets.

    first i deefined a method as shown in the Java tutorial
    ImageIcon icon =createImageIcon("lion.jpg","name");
    ( within the contructor of the class)
    then after completing the constructor for the class- (I am trying to display an ImageIcon on the background of a JFrame)
    i provided the following definition after the constructor and b4 the main method:
    protected static ImageIcon createImageIcon(String path,
    String description) {
    java.net.URL imgURL = LabelDemo.class.getResource(path);
    if (imgURL != null) {
    return new ImageIcon(imgURL, description);
    } else {
    System.err.println("Couldn't find file: " + path);
    return null;
    this is what i did-and when run from the IDE-it is perfect, but the jar file ggenerated when executed displays every single thing-all swing components e.t.c EXCEPT the image
    the image is in the same folder as the source file- i checked because if not, an error is indicated- so that is not the problem here.
    this same exact code works perfectly with applets and they execute perfectly both from the IDE and also when executed separately.
    the same problem also iccurs when trying to display on labels and buttons.(only for JFrames not for JApplets)
    the thing is in the java tutorial the method is given for applets and so my applets worked -so is there somethin i'm missing for frames- as far as i know they r very similar as far as usage is concerned.

  • Problem with NetBeans IDE 5

    Hi All,
    I' m using NetBeans IDE 5 . Present my IDE works fine with J2SE. I would like to work with Servlets. There is an error while using servlet classes.
    Is this Installing problem ? or
    am i add servlet.jar for NetBeans IDE 5?
    Plase any one help me..................

    Right click on the library tab under your project in the projects window and click "add library". Servlet should be on the list.
    If not, check your installed modules and make sure servlet support is included.

  • Problems with netbeans 4.1 and mobility pack 4.1

    when i first installed netbeans 4.1 and the mobility pack it run beautifully and it recognized the midp classes and even showed me all the classes in the packages like its suposed to.
    now the second time i opened the ide it generated an io exception and then it dosen't recognise the midp packages and classes. it compiles the code with no problem but i wanna be able to see all the methods in a specific midp class or all the classes in a package, atleast thats what i downloaded it for, do u have any ideas why i'm getting this behavior???? thanks

    every time i open the ide it generates an IO Exception and it dosen't recognise the midp classes.
    i created a new user account and ran the ide from there and it opened without generating the IOException and it showed me the classes and everything, it ran beautifully. now when i closed the program and later reopened it, it generated the IOException and dosen't recognise the classes anymore.

  • Problem with netbeans UML module

    I have downloaded the UML module from the plug-in section. While it was installing it couldn't find several files related to UML module and when I try to activate the UML module it gives an error like:
    Activation failed. Not all requested modules can be enabled. [StandardModule:org.netbeans.modules.uml.kit jarFile: C:\Program Files\NetBeans 6.0.1\uml4\modules\org-netbeans-modules-uml-kit.jar]
    Required modules for plugin UML to complete activation:
    module org.netbeans.modules.uml/1 > 1.1
    module org.netbeans.modules.uml/1 > 1.2
    module org.netbeans.modules.uml/1 > 1.2.2
    How can I solve this problem?

    Hi ,
    Iam using the following code
    WA_MAILDATA-obj_descr = IS_BACKMON-Message_Subject.
    *Collect the mailid and reciver type to send an email
      WA_RECEIVER-receiver = 'Emailid'.
       WA_RECEIVER-rec_type  = 'U'.
       WA_RECEIVER-com_type = 'INT'.
       APPEND WA_RECEIVER to i_RECEIVER.
    *Display the context of the message
      is_contents_txt = IS_BACKMON-Message_Body.
      APPEND is_contents_txt to i_contents_txt.
      clear is_contents_txt.
    *Send an Email to a Particular person
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              =  WA_MAILDATA
               document_type              = 'HTM'
                put_in_outbox              = c_flag
                commit_work                = c_flag
           tables
               object_header              = I_MESSAGE
                OBJECT_CONTENT              = i_contents_txt
                receivers                  = i_RECEIVER
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      if sy-subrc  eq 0.
    *Submit after the function module is successful
        SUBMIT rsconn01 WITH mode = c_int
                       WITH output = ' '
                       AND RETURN.

  • Compile / run problems with netbeans 6 but not netbeans 6 beta 1 or 5.5

    When I compile my project in netbeans IDE 6.0 (Build 200711261600) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 i get quite often a "can not find symbol" error or during runtime a "netbeans 6 java.lang.NoClassDefFoundError" exception. also switching between F6 or ctrl-F5 mode can cause the problem to appear.
    Compiling again or clean build resolves it.
    However running the same project under netbeans 5.5 or 6 beta 1 never gives this problem.
    any hint what might be wrong? i looked and compared the project settings but can't see any difference, but I assume that the upgrade script must have changed something.

    <?xml version="1.0" encoding="UTF-8" ?>
    - <project name="BorderDemo" default="default" basedir=".">
    <import file="nbproject/build-impl.xml" />
    </project>This is 'build.xml' file. Check for 'project.xml' file in 'nbproject' folder. You will find it to be:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      </data>
      </configuration>
      </project>Change it to:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      <test-roots>
      <root id="test.src.dir" />
      </test-roots>
      </data>
      </configuration>
      </project>I hope it works.....
    thanks!

  • Problem with netbeans 5.5 + sun app server 9 + ms sql server 2005 + datadir

    hi ,
    i am having new netbeans 5.5 beta with sun java application server 9 and microsoft sql server 2005 , my question is simple whats is the correct procedur to retrive schema and table and generate ejb etc... adn to update data base using
    datadirect . bcos whatever i do it is giving me this error
    Deploying application in domain failed; Deployment Error --
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.ddtek.jdbcx.sqlserver.SQLServerDataSourceError Code: 0
    C:\Documents and Settings\chirantan\WebApplication4\nbproject\build-impl.xml:437: Deployment error:
    The module has not been deployed.
    See the server log for details.

    Hi,
    I have installed J2EE 5 SDK on windows XP. When I installed NetBeans 5.5.1 and tried to register it with Application Server, it got registered automatically. I had to uninstall both due to some reasons, now when I installed both j2ee and netbeans again, i see D:/Sun/AppServer folder empty and not able to register NetBeans 5.5.1 with application server. I tried again and again by reintalling but AppServer folder remains empty and not able to register. Any help for this issue??????????

  • Problem with NetBeans/Tomcat

    apologies if this is in the wrong place - I could not find a NetBeans 6 forum
    I've recently started using NetBeans 6 to help me debug and deploy servlet/jsps
    The problem I have is that the bundled Tomcat 6.0.14 will not stop from the IDE (or restart)
    The Tomcat log looks like it is doing the job:
    20-Mar-2008 13:47:24 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()but after a couple of minutes, I get a GUI message saying "Error. Stopping of Tomcat failed."
    At this point, it has stopped
    Does anyone have any workarounds or ideas please?

    I'm resolved the problem on server list, simply specifying a project as j2ee 5 can not appear tomcat 5.5 is necessary to specify j2ee 1.4.
    While for the problem on port just in use I have noticed that sometimes the server remains it isn't close, even exiting from NetBeans, for the moment i use the workaround of closing the process tomcat of linux.
    I hope that on netbeans 6.1 the problem is solved (if it had solved the problem permgen would be even more pleased, but that apparently is a problem of java and then not entered the environment from development).

  • JSP problems with NetBeans 4.1

    Hi Guys,
    I have the following problem. I am working with NB 4,1, and trying to import a Enterprise application with existing sources. This is the sample application in the tutorial for importing.
    So I have done everything exactly as it says, and when I run the project, everything is fine, deploying and so on. The structure of the web module is so that, there is one index.html file, and after that it "leads" to a couple of JSP clients. The browser opens "http://localhost:8080/cmpcustomer-war", and when you click on one of the links, and exception is displayed which says that the file
    "http://localhost:8080/customer/createCustomer.jsp" does not exist.
    When I look in the project tree in NB, under the web module the jsp file exists, under WebPages dir. I click on properties on the web module, and there on the run tab??, and the "context path" is set to "customer", I don't know it must be working, I don't know wy it is not.
    Thanks in advance.

    every time i open the ide it generates an IO Exception and it dosen't recognise the midp classes.
    i created a new user account and ran the ide from there and it opened without generating the IOException and it showed me the classes and everything, it ran beautifully. now when i closed the program and later reopened it, it generated the IOException and dosen't recognise the classes anymore.

  • Problem with Netbeans Debugger

    hello,
    The emulator that I am using, nokia s60 3rd ed midp 2.0, has the habit crashing every once in a while and this is wrecking havoc when running an midlet with nb debugger. When I debug with this emulator NB must first connect to it. This works just fine except when the emu crashes. In this case, NB can not detect that emu has crashed and continuously attempts to connect. I have to exit NB and restart and I find this to be a major pain. What can I do about this?
    Thanks!

    Hi Vimala,
    Thank you for your answer.
    This is quite strange in fact. The problems I have happen on 2 computers. On one computer, I restarted several times yesterday and always had the bug. Today, it seems the bug disappeared. The build is going fine and no freeze occurs. I don't know what happened in the meantime (maybe a restart was useful?)
    On the other computer, I still have the build freeze problem, even if I restart the computer.
    I'll try to investigate a little more on the difference between the 2 computers configuration.
    Thanks for your help,
    David.

Maybe you are looking for

  • Error publishing service in Service Registry

    Hi experts. I've configured Service Registry in a SAP PI 7.11. Everything seems to work correctly but I can't publish services there. When I try to publish from Directory or directly in Service Registry by wsdl I'm getting this error: com.sap.aii.ib.

  • Curtain of Death?

    I have gone through most of the Discussion boards & could not find anything related to my issue. My MBP is 3 1/2 yrs old & works fine. However, twice last night a semi transparent curtain came down & said I need to shut down using the power button &

  • Generated Word document from Robohelp HTML

    Hi Everyone, I have two questions regarding the word document i have generated from RH HTML. First, in my Word document which i have generated from RH HTML my footer is not displaying the one i have used in online help. Second, the hyperlinks i have

  • Https protocol issue

    I have been getting the following error while trying to call a web service on the server with https protocol from a client class. [java] java.io.IOException: unable to find resource:https://localhost:7002/basic_javaclass/LoginUser?WSDL [java] at webl

  • Houston LabView Programmer needed

    Houston, Tx LabView Programmer needed. We are looking for a Labview experience programmer in the. Please contact for more details. (713) 333-0227