Getting java.lang.SecurityException while publishing the process

I am getting the below error when I publish my project
java.lang.SecurityException: Us
er 'principals=[weblogic, CS_SWISS_TEST_PROTECTIONDOMAIN, CS_fsi_v1Server_SERVER
, Administrators, CS_GROUP]' has administration role. All tasks by adminstrators
must go through an Administration Port.
I have a JMS and J2EE configuration defined in my external resources. Please let me know why I am getting this error.

You've probably got more than one version of the javax.mail.* classes in your CLASSPATH.
Look for multiple copies of mail.jar, or perhaps a j2ee.jar or javaee.jar that duplicates those
classes.

Similar Messages

  • Getting java.lang.SecurityException while sending mail

    While i trying to send mail through web browser i am getting following error.But by calling same function in main method of my Mailer.java class its successful. Will anybody suggest me what am i miss .I m using Tomcat & i already put activation.jar and mail.jar in classpath.
    "java.lang.SecurityException: class "javax.mail.Address";'s signer information does not match signer information of other classes in the same package"
    Regards
    Riaz
    Edited by: Riaz_Ansari on May 2, 2008 12:44 AM

    You've probably got more than one version of the javax.mail.* classes in your CLASSPATH.
    Look for multiple copies of mail.jar, or perhaps a j2ee.jar or javaee.jar that duplicates those
    classes.

  • Getting 'java.lang.OutOfMemoryError' while importing process flows.

    Hello,
    We are getting 'java.lang.OutOfMemoryError' error while importing process flows in our QA environment. This environment is not new. The same process flows were working perfectly fine till last week.
    This week we had to delete the project in QA and reimport all the objects. Import went fine for all, except process flows. We could deploy all other objects as well.
    We have tried increasing JVM in run_service.sh and owbclient.sh files by increasing -Xmx, -Xmx and Dlimit. We increased as far as 2048M ( This is the max memory available on our server)
    We are using OWB version 10.2.0.2 and Oracle 10G over Linux. Did anyone of you face the same issue ? Please le us know the solution.
    Thanks
    Madhavi

    Hi Madhavi,
    Which locale language is shown in your OWB client configuration? We had this issue in previous versions (I haven't found it in this version, but I'm used to work with English since these previous versions) So we always adjust Preferences (Tools -> Preferences...) to see Appearance -> Locale -> English.
    Try to change the locale language if it's your case.
    Regards
    ANA GH

  • Java.lang.SecurityException while using RDBMSRealm in 5.1

    Hi,
    We are in the process of migrating our application from Weblogic 4.5.1
    to Weblogic 5.1. When we try to set up RdbmsRealm as the delegate realm
    for the server and start the server, we get the following exception:
    java.lang.SecurityException: User "system" does not have Permission
    "read" based on ACL "weblogic.workspace.system".
    at weblogic.security.acl.Security.logAndThrow(Security.java:372)
    at weblogic.security.acl.Security.checkPermission(Security.java:254)
    at
    weblogic.workspace.server.Workspace.checkPermission(Workspace.java:1169)
    at weblogic.workspace.server.Workspace.checkRead(Workspace.java:1174)
    at weblogic.workspace.server.Workspace.fetch(Workspace.java:208)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:243)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java,
    Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled
    Code)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    The database has aclentries that grant read, write and reserve
    permissions on weblogic.workspace.system to everyone. It is not clear
    why the server still complains that user 'system' does not have
    permissions. Is 'system' user not a part of everyone group by default? (
    We are using the same acls we were using with Weblogic 4.5.1 ). Does
    'everyone' group have all the users in it by default? Or has it changed?
    Any suggestions welcome.
    Thanks and Regards
    Suresh B

    Either try setting weblogic.allow.read.weblogic.workspace=system
    Or add the system user to the group 'everyone' in the database you use for
    RDBMSRealm (Hmm, not sure if this will work or not.
    If you are implementing a custom realm then you need to explicitly state
    which members are in the 'everyone' group.
    (I've recently had a similar problem . I actually chose a different
    solution, by overriding the isMember(user) method in RDBMSGroup to always
    return true if the group's name is 'everyone' - I had to override the method
    anyway, for other reasons. If anyone as any input on why this is a really
    bad idea please feel free to tell me)
    terry
    BSuresh <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    weblogic.allow.read.weblogic.workspace.system=everyone
    weblogic.allow.write.weblogic.workspace.system=everyone
    I tried having the above entries in the weblogic.properties file but theserver
    complains that weblogic.workspace acl is defined both in the delegate andbackup
    realm. And the result remains the same - java.lang.SecurityException.User
    "system" does not have Permission "read" based on ACL
    "weblogic.workspace.system".
    Thanks
    Suresh.B
    KNK wrote:
    Try setting the "read" and "write" permissions explicitly in
    weblogic.properties file.
    weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    -- KNK --
    A ten thousand miles journey begins with a single step. That single stephas
    to be taken from where you are, worries are no solution to any problem.
    "BSuresh" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We are in the process of migrating our application from Weblogic 4.5.1
    to Weblogic 5.1. When we try to set up RdbmsRealm as the delegate
    realm
    for the server and start the server, we get the following exception:
    java.lang.SecurityException: User "system" does not have Permission
    "read" based on ACL "weblogic.workspace.system".
    at weblogic.security.acl.Security.logAndThrow(Security.java:372)
    at weblogic.security.acl.Security.checkPermission(Security.java:254)
    at
    weblogic.workspace.server.Workspace.checkPermission(Workspace.java:1169)
    >>>
    at weblogic.workspace.server.Workspace.checkRead(Workspace.java:1174)
    at weblogic.workspace.server.Workspace.fetch(Workspace.java:208)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:243
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java,
    Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled
    Code)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    >>>
    The database has aclentries that grant read, write and reserve
    permissions on weblogic.workspace.system to everyone. It is not clear
    why the server still complains that user 'system' does not have
    permissions. Is 'system' user not a part of everyone group by default?(
    We are using the same acls we were using with Weblogic 4.5.1 ). Does
    'everyone' group have all the users in it by default? Or has itchanged?
    >>>
    Any suggestions welcome.
    Thanks and Regards
    Suresh B

  • Java.lang.SecurityException: while starting weblogic server

    Hi,
    I added a admin server on m/c 1 and a remote managed server on m/c 2. When i tried to start the admin server and the managed server and ping it using jmx, it get the following security error:
    Any help regd. this would be appreciated.
    Thanks,
    beauser2005
    <Oct 29, 2004 2:14:38 PM PDT> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.rmi.internal.BasicServerRef@10c - hostID: '-833462563406253632S:172.20.30.37:[7001,7001,-1,-1,7001,-1,-1,0,0]:mydomain10:myserver10', oid: '268', implementation: 'weblogic.management.internal.RemoteMBeanServerImpl@191f022'
    java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators].
    java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
         at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
         at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
         at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
         at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
         at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
         at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
         at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
         at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
         at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    was able to solve this
    there was corruption of reports config file

  • Getting java.lang.NullpointerException while closing resultset aft using it

    Hi,
    I kindly request to share your ideas reg. my problem.
    I am opening a database connection using connection pool and i am using two or more resultsets and statement objects.I am closing these objects at the end of their usage.But i am getting java.lang.NullpointerException when i close them(if i don't close them it works fine). what might be the reason. Had i did any thing wrong in the code.
    please view the code
    public String storeNewConnection(String CIRCLE,String DIVISION,String SUB_DIVISION,String SECTION,String CONSUMER_NAME,String FATHER_NAME,String STREET_NAME,String DOOR_NO,String TOWN_CITY,String LAND_MARK,String PINCODE,String STDCODE,String PHONE_NO,String EMAIL,String NEIGHBOUR_SCNO,String DOCUMENT_CODE,String LT_APR_NO,String year1,String month1,String day1,String PCBNO,String CONSUMER_STATUS,String SOCIAL_GROUP,String CATEGORY_SUPPLY,String LOCATION_PREMISES,String PURPOSE_OF_SUPPLY,String DURATION,String LOAD_TYPE,String CONNECTED_LOAD,String CONTRACTED_LOAD,String APPLICATION_FEE,String DEVELOPMENT_CHARGES,String SECURITY_DEPOSIT,String ADDL_SECURITY_DESPOSIT,String DEPOSITED_THRU,String DD_CHEQUE_DETAILS,String year2,String month2,String day2,String REMARKS,String POLE_NO)
              int count=0;
              Statement st=null;
              ResultSet rs=null,rs1=null,rs2=null,rs3=null;
              PreparedStatement pst=null;
              String result="",query="",sysDate="",sysDate2="";
              String reg_no = "";
              try
                   st=con.createStatement();
                   //Check dates with sys date
                   String date1 =null;                    
                   String date2 =null;
                   if(! (year1.equals("") || month1.equals("") || day1.equals("")) )
                        date1=day1+"-"+month1+"-"+year1;
                        rs2=st.executeQuery("select round(to_date('"+date1+"','dd-Mon-yyyy')-to_date(sysdate,'dd-Mon-yy')) from dual");
                        rs2.next();
                        if(rs2.getInt(1) != 0)
                             return "false";                              
                   if(! (year2.equals("") || month2.equals("") || day2.equals("")) )
                        date2=day2+"-"+month2+"-"+year2;
                        rs3=st.executeQuery("select round(to_date('"+date2+"','dd-Mon-yyyy')-to_date(sysdate,'dd-Mon-yy')) from dual");
                        rs3.next();
                        if(rs3.getInt(1) != 0)
                             return "false";     
                   rs1=st.executeQuery("select to_char(sysdate,'yyyyMONdd'),to_char(sysdate,'dd-Mon-yyyy') from dual");
                   rs1.next();
                   sysDate=rs1.getString(1);
                   sysDate2=rs1.getString(2);
                   rs=st.executeQuery("select max(SERIAL_NO) from NEW_CONNECTIONS where to_char(sysdate,'yyyy') = to_char(REG_DATE,'yyyy') and to_char(sysdate,'mm') = to_char(REG_DATE,'mm') and SUB_DIVISION_CODE = "+SUB_DIVISION+" and DIVISION_CODE = "+DIVISION+" and CIRCLE_CODE = "+CIRCLE+" ");
                   if(rs.next())
                        count = rs.getInt(1);
                        count++;                              
                   else
                        count=1;
                   query="insert into NEW_CONNECTIONS ( "+
                        " REG_NO,SERIAL_NO,REG_DATE,CIRCLE_CODE,DIVISION_CODE,SUB_DIVISION_CODE,SECTION_CODE, "+
                        " CONSUMER_NAME,FATHER_NAME,STREET_NAME,DOOR_NO,TOWN_CITY,LAND_MARK,PINCODE, "+
                        " STDCODE,PHONE_NO,EMAIL,NEIGHBOUR_SCNO,DOCUMENT_CODE,LT_APR_NO,LT_APR_DATE, "+
                        " PCBNO,CONSUMER_STATUS,SOCIAL_GROUP,CATEGORY_SUPPLY,LOCATION_PREMISES,PURPOSE_OF_SUPPLY,"+
                        " DURATION,LOAD_TYPE,CONNECTED_LOAD,CONTRACTED_LOAD,APPLICATION_FEE,DEVELOPMENT_CHARGES, "+
                        " SECURITY_DEPOSIT,ADDL_SECURITY_DEPOSIT,DEPOSITED_THRU,DD_CHEQUE_DETAILS,DD_CHEQUE_DATE,REMARKS,APPLICATION_STATUS,POLE_NO) "+
                        " values(?,?,'"+sysDate2+"',?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
                   pst = con.prepareStatement(query);
                   String cnt ="";
                   if(count <= 9)
                        cnt="0000";
                   else if(count <= 99)
                        cnt="000";
                   else if(count <= 999)
                        cnt="00";
                   else if(count <= 9999)
                        cnt="0";
                   cnt+=Integer.toString(count);
                   reg_no = CIRCLE+DIVISION+SUB_DIVISION+SECTION+"N"+cnt+sysDate;               
                   int serial_no =count;
                   int pin = 0;
                   if(!PINCODE.equals(""))
                        pin =Integer.parseInt(PINCODE);
                   int std = 0;
                   if(!STDCODE.equals(""))
                        std = Integer.parseInt(STDCODE);
                   int status = Integer.parseInt(CONSUMER_STATUS);
                   int social_group = Integer.parseInt(SOCIAL_GROUP);
                   int supply = Integer.parseInt(CATEGORY_SUPPLY);
                   int location = Integer.parseInt(LOCATION_PREMISES);
                   int purpose = Integer.parseInt(PURPOSE_OF_SUPPLY);
                   int duration = Integer.parseInt(DURATION);
                   int laod_type = Integer.parseInt(LOAD_TYPE);
                   float conn_load = Float.parseFloat(CONNECTED_LOAD);
                   int cont_load = 0;
                   if(!CONTRACTED_LOAD.equals(""))
                        cont_load =Integer.parseInt(CONTRACTED_LOAD);
                   int app_fee = Integer.parseInt(APPLICATION_FEE);
                   int dev_chg = Integer.parseInt(DEVELOPMENT_CHARGES);
                   int sec_dep = Integer.parseInt(SECURITY_DEPOSIT);
                   int addl_sec_dep = 0;     
                   if(!ADDL_SECURITY_DESPOSIT.equals(""))
                        addl_sec_dep =Integer.parseInt(ADDL_SECURITY_DESPOSIT);
                   int dep_thru = Integer.parseInt(DEPOSITED_THRU);          
                   pst.setString(1,reg_no);
                   pst.setInt(2,serial_no);
                   pst.setString(3,CIRCLE);
                   pst.setString(4,DIVISION);
                   pst.setString(5,SUB_DIVISION);
                   pst.setString(6,SECTION);
                   pst.setString(7,CONSUMER_NAME);
                   pst.setString(8,FATHER_NAME);
                   pst.setString(9,STREET_NAME);
                   pst.setString(10,DOOR_NO);
                   pst.setString(11,TOWN_CITY);
                   pst.setString(12,LAND_MARK);
                   pst.setInt(13,pin);
                   pst.setInt(14,std);
                   pst.setString(15,PHONE_NO);
                   pst.setString(16,EMAIL);
                   pst.setString(17,NEIGHBOUR_SCNO);
                   pst.setString(18,DOCUMENT_CODE);
                   pst.setString(19,LT_APR_NO);
                   pst.setString(20,date1);
                   pst.setString(21,PCBNO);
                   pst.setInt(22,status);
                   pst.setInt(23,social_group);
                   pst.setInt(24,supply );
                   pst.setInt(25,location);
                   pst.setInt(26,purpose);
                   pst.setInt(27,duration);
                   pst.setInt(28,laod_type);
                   pst.setFloat(29,conn_load );
                   pst.setInt(30,cont_load);
                   pst.setInt(31,app_fee);
                   pst.setInt(32,dev_chg);
                   pst.setInt(33,sec_dep);
                   pst.setInt(34,addl_sec_dep);
                   pst.setInt(35,dep_thru );
                   pst.setString(36,DD_CHEQUE_DETAILS);
                   pst.setString(37,date2);
                   pst.setString(38,REMARKS);
                   pst.setInt(39,1);
                   pst.setString(40,POLE_NO);
                   pst.executeUpdate();
                   result=reg_no;                                   
                   rs.close();
                   rs=null;
                   rs1.close();
                   rs1=null;
                   rs2.close();
                   rs2=null;
                   rs3.close();
                   rs3=null;
                   st.close();
                   st=null;
                   pst.close();
                   pst=null;
              catch(Exception e)
                   e.printStackTrace();
                   result="false";
                   return result;
              finally
                   if (rs != null)
                        try
                             rs.close();
                        catch (SQLException e)
                        rs = null;
                   if (rs1 != null)
                        try
                             rs1.close();
                        catch (SQLException e)
                        rs1 = null;
                   if (rs2 != null)
                        try
                             rs2.close();
                        catch (SQLException e)
                        rs2 = null;
                   if (rs3 != null)
                        try
                             rs3.close();
                        catch (SQLException e)
                        rs3 = null;
                   if (st != null)
                        try
                             st.close();
                        catch (SQLException e)
                        st = null;
                   if (pst != null)
                        try
                             pst.close();
                        catch (SQLException e)
                        pst = null;
              return result;
    Also plz help me to improve the code if necessary so that it will work fine for multiple users
    thaks & regards
    Prasanth.C

    Thanks a lot.
    i replaced the code below
    if (rs != null)
                        try
                             rs.close();
                        catch (SQLException e)
                        rs = null;
                   if (rs1 != null)
                        try
                             rs1.close();
                        catch (SQLException e)
                        rs1 = null;
                   if (rs2 != null)
                        try
                             rs2.close();
                        catch (SQLException e)
                        rs2 = null;
                   if (rs3 != null)
                        try
                             rs3.close();
                        catch (SQLException e)
                        rs3 = null;
                   if (st != null)
                        try
                             st.close();
                        catch (SQLException e)
                        st = null;
                   if (pst != null)
                        try
                             pst.close();
                        catch (SQLException e)
                        pst = null;
    instead of blindly closing the resultsets and statements
    now it works fine.
    One more thing, is my code structurally correct, i mean the variables, try...catch blocks,results,statements,database connections and overall coding. whether it looks like professional code.
    thaks & regards,
    Prasanth.C

  • Getting  java.lang.IllegalStateException  while starting new transaction.

    Hi All,
    I am writing a simple web application(using netbeans visual jsf) but not able to proceed forward. I am encountering this "java.lang.IllegalStateException: Operation not allowed" when I try to start a new transaction.
    Here's my code for session bean:
        @Resource(name= "UserTransactionResource", mappedName="UserTransactionMapped")
        private UserTransaction utx;
        @PersistenceUnit(unitName = "myproj-ejbPU")
        private EntityManagerFactory emf;
        private EntityManager getEntityManager() {
            return emf.createEntityManager();
        public void save(UserProfile userprofile) throws Exception { 
            EntityManager em = getEntityManager();
            try {       
                utx.begin();
                em.joinTransaction();
                em.persist(userprofile);
                utx.commit();
            catch (Exception ex) {
                try {
                    System.out.println(ex.toString());              ---------------> prints  java.lang.IllegalStateException: Operation not allowed
                    utx.rollback();
                    throw new Exception(ex.getLocalizedMessage());
                catch (Exception e) {
                    throw new Exception(e.getLocalizedMessage());
            finally {           
                    em.close();
        }This is what is seen in glassfish server log:
    java.lang.IllegalStateException: Operation not allowed.
    java.lang.Exception: Operation not allowed.
    javax.faces.el.EvaluationException: java.lang.Exception: Operation not allowed.
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
    Please help me. I am totally stuck here. I am new to both jsf and ejbs. And i was referring this link http://www.packtpub.com/article/Building-JSF-EJB3-Applications
    Thanks,
    blue_dev

    Thanks for having a look at it.
    I tried this: System.out.println(ex.getCause()); , but it only prints null.
    I have pasted part of my glassfish server log which is quite big. I am not able to figure out the root cause of this problem. But my transaction object "utx" is causing this, i guess. Maybe this server log can give some clues.
    java.lang.IllegalStateException: Operation not allowed.
    java.lang.Exception: Operation not allowed.
    javax.faces.el.EvaluationException: java.lang.Exception: Operation not allowed.
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.Exception: Operation not allowed.
    WebModule[/miq-war]#{Register.submitButton_action}: java.lang.Exception: Operation not allowed.
    javax.faces.FacesException: #{Register.submitButton_action}: java.lang.Exception: Operation not allowed.
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
            at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
    Caused by: javax.faces.el.EvaluationException: java.lang.Exception: Operation not allowed.
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            ... 43 more
    Caused by: java.lang.Exception: Operation not allowed.
    executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@131a5af) threw exception
    com.sun.rave.web.ui.appbase.ApplicationException: #{Register.submitButton_action}: java.lang.Exception: Operation not allowed.
            at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:603)
            at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    ..................................

  • Constantly getting java.lang.OutOfMemoryError when submitting the form.

    Hello,
    I know this doesn't exactly pertain to Form Server, but maybe someone has some insight.
    I set up JBoss 3.2.5 with Java 1.4.2.11 on a seperate machine to do a remote connection to my LiveCycle environment.
    I am using the SOAPClient sample from the developer guide to save my form. I am able to save the submitted form for just fine, but I can only do so once and the second time I always get am error: "javax.servlet.ServletException: Servlet execution threw an exception" root cause: "java.lang.OutOfMemoryError"
    Even with just the code from the guide, I get this error. Does anyone have any insight into fixing this? I really don't know what to fix in the code since I used the sample from the guide and they close the objects if that was an issue. If it matters, the pdf file I am submitting to be saved is about 800KB and then the saved file size is about 1400KB
    I already tried setting within the run.conf file the following: JAVA_OPTS="-server -Xms1028m -Xmx1028m" but I still get the same out of Memory error. The only error within the server.log file is the following:
    2007-01-10 15:46:19,125 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[SubmitPart1]: Servlet.service() for servlet SubmitPart1 threw exception
    java.lang.OutOfMemoryError
    Thanks,
    Jennifer

    Hi Jennifer,
    If the problem is not yet resolved here is my suggestion.
    With my interaction with Adobe I came to know that SOAP has a limitation of handling a max of 10 MB and in real-time you may stitch the forms more than 10MB.
    Use the EJBClient instead of SOAPClient.
    You may set this is in FormServerDefinition class.
    Thanks,
    Vijay

  • Java.lang.NullPointerException : while editing the human task  JDeveloper

    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.initMode(TaskActionAccessConfigurationPanel.java:439)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.initMode(TaskAccessConfigurationPanel.java:147)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.setData(AdvancedOptionsPanel.java:195)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor.setData(AdvancedOptionsEditor.java:116)
    o.tip.tools.ide.workflow.editor.WorkflowManager.loadIntoUIModel(WorkflowManager.java:218)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor.load(WFTabbedEditor.java:265)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor.access$000(WFTabbedEditor.java:105)
    o.tip.tools.ide.workflow.addin.WFTabbedEditor$1.run(WFTabbedEditor.java:253)
    j.lang.Thread.run(Thread.java:619)

    Getting following error when I try to update Human task from JDeveloper
    Uncaught exception
    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.getActionData(TaskAccessConfigurationPanel.java:103)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.getData(AdvancedOptionsPanel.java:215)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor$LocalPropertyChangeListener.propertyChange(AdvancedOptionsEditor.java:141)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.tab.AssigneesEditor.propertyChange(AssigneesEditor.java:186)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.firePropertyChange(StageEditor.java:1488)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.propertyChange(StageEditor.java:1081)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor.editParticipant(ParticipantEditor.java:1304)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor$LocalMouseAdapter.mouseClicked(ParticipantEditor.java:1004)
    j.a.Component.processMouseEvent(Component.java:6266)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6028)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4630)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4247)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    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)

  • Java.lang.NoSuchMethodError while running the Application on MI client

    Hi Experts
    During development I run my application through NWDS and worked perfect. But when I  run my application only through MI client. It through error on my programmed methods: java.lang.NoSuchMethodError:
    Any advice is highly appreciated!
    Michal

    Thanks for your reply!
    I use MI 2.5 SP20 and that trace is:
    Internal Servlet Error:
    java.lang.NoSuchMethodError: com.sap.myApp.bean.TableViewBean.setAll(Ljava/lang/String;)V
    Thanks for any advice

  • Java.lang.SecurityException: [Security:090398]Invalid Subject - multithre..

    Hi
    I am getting java.lang.SecurityException: [Security:090398]Invalid Subject ... under the following scenario:
    - I have a simple dispatcher class which is starting a number of threads, every one of them sending messages to different Weblogic server.
    - The dispatcher class is a simple Java class, running from outside of Weblogic server; the authentication is done using the JNDI login.
    - The message sender threads create an InitialContext for each message being sent and the context is closed after succesfully sending the message.
    With just one message sender thread running, everything is OK.
    The problems appear when at least two threads run at the same time. What happens is that one of the threads sends messages successfully while the other ones fail with:
    java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[user1, role1, role2, role3, role4]
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.jms.dispatcher.DispatcherImpl_812_WLStub.dispatchSyncFuture(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSync(DispatcherWrapperState.java:339)
    at weblogic.jms.client.JMSConnection.createSessionInternal(JMSConnection.java:400)
    at weblogic.jms.client.JMSConnection.createTopicSession(JMSConnection.java:359)
    at com.delta.parser.test.TestMessageThread.sendMessage(TestMessageThread.java:54)
    at com.delta.parser.test.TestMessageThread.run(TestMessageThread.java:34)
    Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[user1, role1, role2, role3, role4]
    at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:682)
    at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:182)
    at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:825)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:923)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:844)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:222)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:570)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    The environment is Weblogic 8.1 (WebLogic Platform Developer license) running on Windows XP Professional.
    In the classpath I have the following weblogic jar files: weblogic.jar, wlclient.jar, wljmsclient.jar.
    The code that is generating the exceptions is:
    /****************** Dispatcher ************************/
    package test;
    public class TestThreadDispatcher {
    public TestThreadDispatcher() {
    public static void main(String[] args) {
    TestThreadDispatcher instance = new TestThreadDispatcher();
    instance.doTest();
    private void doTest() {
    TestMessageThread t1 = new TestMessageThread("weblogic.jndi.WLInitialContextFactory",
    "t3://pc10:7001",
    "user1",
    "passwd");
    t1.start();
    TestMessageThread t2 = new TestMessageThread("weblogic.jndi.WLInitialContextFactory",
    "t3://sjn:7001",
    "user1",
    "passwd");
    t2.start();
    TestMessageThread t3 = new TestMessageThread("weblogic.jndi.WLInitialContextFactory",
    "t3://pc99:7001",
    "user1",
    "passwd");
    t3.start();
    /****************** Message sender thread **************/
    package test;
    import java.util.*;
    import javax.jms.*;
    import javax.naming.*;
    import com.delta.parser.util.*;
    public class TestMessageThread extends Thread implements ParserConstants {
    private Hashtable environment;
    public TestMessageThread(String initialFactory,
    String url,
    String principal,
    String credentials) {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    initialFactory);
    env.put(Context.PROVIDER_URL,
    url);
    env.put(Context.SECURITY_PRINCIPAL,
    principal);
    env.put(Context.SECURITY_CREDENTIALS,
    credentials);
    environment = env;
    public void run() {
    int cnt = 0;
    while(true) {
    sendMessage("" + cnt++);
    try {
    sleep(500);
    } catch (InterruptedException iex) {
    private void sendMessage(String text) {
    try {
    Context ctx = new InitialContext(environment);
    TopicConnectionFactory factory = (TopicConnectionFactory)
    ctx.lookup("javax.jms.TopicConnectionFactory");
    TopicConnection connection = factory.createTopicConnection();
    TopicSession session = connection.createTopicSession(false,
    javax.jms.Session.AUTO_ACKNOWLEDGE);
    Topic topic = (Topic)ctx.lookup("FileTopic");
    TopicPublisher publisher = session.createPublisher(topic);
    TextMessage message = session.createTextMessage(text);
    publisher.publish(message);
    System.out.println("Message " + text + " sent to " +
    environment.get(Context.PROVIDER_URL));
    ctx.close();
    catch (JMSException jmsex) {
    jmsex.printStackTrace();
    catch (NamingException nex) {
    nex.printStackTrace();
    catch (SecurityException scex) {
    scex.printStackTrace();
    Any workarounds for this?
    BTW, I also tried using weblogic.jndi.Environment to obtain an InitialContext and wrapping the code inside thread's run() into Security.runAs(subject, new PrivilegedAction() { ....}, without success.
    Thanks in advance
    Mirel Rata

    Hi Kiran,
    Thank you for replying.
    Unfortunately the fix you suggested did not solve the problem. The server version I'm using is 8.1.
    The application I'm sending messages from is a standalone Java application, does not run from inside Weblogic server.
    Any thoughts?
    Regards,
    Mirel Rata

  • Java.lang.StackOverflowError while accessing home page

    Why do I get java.lang.StackOverflowError while I try to call the /application url (Home page) after login. Note that before login this url was not giving any problem. Please help me out immediately, as this become crucial for our project. The part of the error stack is provided below:
    <Sep 9, 2004 12:25:03 PM IST> <Error> <HTTP> <101017> <[ServletContext(id=353527
    ,name=btwportal,context-path=/btwportal)] Root cause of ServletException
    java.lang.StackOverflowError
            at weblogic.servlet.internal.session.SessionData.getAttribute(SessionDat
    a.java:427)
            at com.bea.portal.appflow.PortalAppflowFactory.getPortalSession(PortalAp
    pflowFactory.java:148)
            at com.bea.portal.appflow.PortalAppflowFactory.createPortalSession(Porta
    lAppflowFactory.java:132)
            at com.bea.portal.appflow.PortalAppflowFactory.createPortalSession(Porta
    lAppflowFactory.java:114)
            at com.bea.portal.appflow.internal.PortalRequestImpl.getPortalSession(Po
    rtalRequestImpl.java:92)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:213)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com.bea.p13n.appflow.webflow.internal.IPProcessor.process(IPProcessor
    .java:106)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processTarg
    et(WebflowExecutorImpl.java:1234)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:746)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNode(We
    bflowExecutorImpl.java:761)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.gotoNextNod
    e(WebflowExecutorImpl.java:684)
            at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebf
    lowRequest(WebflowExecutorImpl.java:546)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:166)
            at com.bea.portal.appflow.PortalAppflowHelper.invokeWebflow(PortalAppflo
    wHelper.java:139)
            at com.bea.portal.appflow.PortalAppflowHelper.invokePortletWebflow(Porta
    lAppflowHelper.java:216)
            at com.bea.portal.appflow.processor.PostProcessor.refreshPortlet(PostPro
    cessor.java:245)
            at com.bea.portal.appflow.processor.PostProcessor.process(PostProcessor.
    java:149)
            at com.bea.portal.appflow.processor.AbstractPortalProcessor.process(Abst
    ractPortalProcessor.java:105)
            at com

    Hi Werner.
    Its has a sevirity 2. But since its a weeked nothing will progress until monday.
    Regrading to your commect:"... I think it's related to the data to be upgraded. Because the error occurs right after NLS_LANG checking, possibly there's a relationship to this " .
    The error raised at the beggining of the upgrade. Already in second screen
    where you choose the instance you want to upgrade.
    I dought that in this early steps its already collecting information regarding to actual data.
    Can you suggest from your experience a workaround for this problem ?
    Thanks.

  • Java.lang.SecurityException using a simple jar file

    I created my small application using JDev 11.
    Running from JDev it works well.
    I created a simple jar file including all my classes and all libraries I used.
    Whe I try to run that jar file I get :
    java.lang.SecurityException: no manifiest section for signature file entry javax/mail/internet/AsciiOutputStream.classI didn't find any solution.
    I worked hardly with JDev 10g but I never had such problem.
    Tks
    Tullio
    Edited by: tullio0106 on Nov 25, 2008 2:22 PM

    I simply created a project containing some classes whish use java mail.
    Then I modified the project creating, in the deployment wizard, a "Dependency Analysis" filegroup adding all my classes as well as libraries.
    I uncheck the "Include Manifest" chek otherwise I would run into different problems (well documented in the forum).
    The jar file is created but when I run the application I get the Security error.
    If I remove java mail libraries (activation and java mail)from the list of used libraries and I add it to classpath it works fine.
    I suspect the problem could be in Manifes merging.
    Tks
    Tullio

  • URJENT: java.lang.SecurityException

    Hi all,
    I am using OBEX Object Push profile to send file from my device to another device. i am getting
    java.lang.SecurityException
    MIDletManager Error:Illegal attempt to construct
    Bluetooth@f17bbba
    can any one please help me rectify this problem.
    Help is most appreciated.
    Thank You
    regards,
    Rakesh Pachawa

    The error message you get here is due to your subject not being validated.
    BEAs suggestet actions to resolve the error is
    "Ensure that subject was created by this domain or in a domain trusted by this domain."
    Please note that BEA does recomment using JAAS in stead of JNDI to associate a user with context. I would believe what you are facing here is a bug / design flaw.
    To confirm this, please try to use different usernames to the different servers. "user1", "user2" .. This would maybe confirm the assumption above.
    If this does not help, I will set up a test scenario and investigate further into this.
    - Anders M.

  • Getting Java.Lang.NullPointerException

    Hi,
    I am getting java.lang.NullPointerException when calling the 'validate' method. Appreciate any help.
    Thanks
    import com.sun.net.ssl.internal.ssl.Provider;
    import java.io.*;
    import java.net.URL;
    import java.net.URLEncoder;
    import java.security.Security;
    import java.text.DateFormat;
    public class PSCASClient{
    public static String validate(String fullUrl, String ticket, String altVal) throws IOException {
    String validateURL = null;
    if (altVal.equals("N")) {
    validateURL = "https://login.uconn.edu/cas/validate";
    else
    validateURL = "https://login.uconn.edu/cas/validate";
    try
    Security.addProvider(new Provider());
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    int ticketParamIndex = fullUrl.lastIndexOf("&ticket=");
    String service = null;
    if (ticketParamIndex != -1) {
    // service = URLEncoder.encode(fullUrl.substring(0, ticketParamIndex)); /* This method is deprecated - JA */
    service = URLEncoder.encode(fullUrl.substring(0, ticketParamIndex), service);
    else {
    // service = URLEncoder.encode(fullUrl); /* This method is deprecated - JA */
    service = URLEncoder.encode(fullUrl, service);
    URL u = new URL(validateURL + "?ticket=" + ticket + "&service=" + service);
    BufferedReader in = new BufferedReader(new InputStreamReader(u.openStream()));
    if (in == null) {
    return null;
    String line1 = in.readLine();
    String line2 = in.readLine();
    if (line1 != null && line2 != null && line1.equals("yes"))
    String user = line2;
    user = user.toUpperCase();
    return user;
    else {
    return null;
    catch(Exception e)
    logMessage("ERROR: Exception attempting validate: " + e);
    return null;
    public static void logMessage(String message){
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ");
    Date now = new Date();
    try
    BufferedWriter os = new BufferedWriter(new FileWriter("/tmp/pscas_signon_log.txt", true));
    os.write(formatter.format(now));
    os.write(message);
    os.write("\n");
    os.close();
    catch(IOException _ex) { }

    Hi,
    I am getting java.lang.NullPointerException when
    calling the 'validate' method. Appreciate any help.
    Thanks
    import com.sun.net.ssl.internal.ssl.Provider;
    import java.io.*;
    import java.net.URL;
    import java.net.URLEncoder;
    import java.security.Security;
    import java.text.DateFormat;
    public class PSCASClient{
    public static String validate(String fullUrl, String
    ticket, String altVal) throws IOException {
    String validateURL = null;
    if (altVal.equals("N")) {
    validateURL = "https://login.uconn.edu/cas/validate";
    else
    validateURL = "https://login.uconn.edu/cas/validate";
    try
    Security.addProvider(new Provider());
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    int ticketParamIndex =
    fullUrl.lastIndexOf("&ticket=");
    String service = null;
    if (ticketParamIndex != -1) {
    // service = URLEncoder.encode(fullUrl.substring(0,
    ticketParamIndex)); /* This method is deprecated - JA
    service = URLEncoder.encode(fullUrl.substring(0,
    ticketParamIndex), service);
    else {
    // service = URLEncoder.encode(fullUrl); /* This
    method is deprecated - JA */
    service = URLEncoder.encode(fullUrl, service);
    URL u = new URL(validateURL + "?ticket=" + ticket +
    "&service=" + service);
    BufferedReader in = new BufferedReader(new
    InputStreamReader(u.openStream()));
    if (in == null) {
    return null;
    String line1 = in.readLine();
    String line2 = in.readLine();
    if (line1 != null && line2 != null &&
    line1.equals("yes"))
    String user = line2;
    user = user.toUpperCase();
    return user;
    else {
    return null;
    catch(Exception e)
    logMessage("ERROR: Exception attempting validate: " +
    e);
    return null;
    public static void logMessage(String message){
    SimpleDateFormat formatter = new
    SimpleDateFormat("yyyy-MM-dd HH:mm:ss ");
    Date now = new Date();
    try
    BufferedWriter os = new BufferedWriter(new
    FileWriter("/tmp/pscas_signon_log.txt", true));
    os.write(formatter.format(now));
    os.write(message);
    os.write("\n");
    os.close();
    catch(IOException _ex) { }
    }I am using the package jsse.jar. The following lines may be causing the error.
    try
    Security.addProvider(new Provider());
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    int ticketParamIndex = fullUrl.lastIndexOf("&ticket=");
    String service = null;
    if (ticketParamIndex != -1) {
    // service = URLEncoder.encode(fullUrl.substring(0, ticketParamIndex)); /* This method is deprecated - JA */
    service = URLEncoder.encode(fullUrl.substring(0, ticketParamIndex), service);
    else {
    // service = URLEncoder.encode(fullUrl); /* This method is deprecated - JA */
    service = URLEncoder.encode(fullUrl, service);
    URL u = new URL(validateURL + "?ticket=" + ticket + "&service=" + service);

Maybe you are looking for

  • How to use variables, get results in a grid, without the Binds dialog.

    Hi all, I have recently embarked on the Oracle path, however am quite a seasoned MS SQL Server enthusiast. I would like to be able to use inline variables within my SQL Worksheet adhoc queries without having to bother with the BIND Popup window. I no

  • File Upload in Portal Enviroment

    I have a web page with a File Upload tag, and a PageFlow with a Form Bean where it has a FormFile attributte. When i run this pageFlow, it run excelent, but when the pageFlow is in a porlet of the portal, never upload the file. What i have to do?? Pl

  • Can't Import TIFF -- File Error

    I am trying to import a TIFF image into my FCP project; something I've done a hundred times. This time, however, the file will not come in. "File Error". This image was made by someone else, but it opens in my ancient Photoshop CS2..so why won't it c

  • Toshiba Satellite battery/AC problems?

    After days of agony, I broke down and order a new AC adapter and battery for the Toshiba Satellite from Amazon (which cost about $20 for both, new, including free shipping; Toshiba wants over a $100 for the battery and nearly the same for the AC adap

  • Calendar strangeness in Touch - an investigation

    I noticed that I was getting duplicate calendar entries in my 8 GB Touch even though there weren't any in my iCal calendars. So I went investigating.... My touch is jailbroken, so I was able to use Fugu to make an SSH connection to it via WiFI. Then