Java mail Demo Web App

I have tried to run and deploy demo web app that comes with java mail 1.3, but while logging i have got the following error:
javax.mail.MessagingException: Connection timed out: connect; nested exception is: java.net.ConnectException: Connection timed out: connect
And while sending message it generates the following error:
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/products/javamail/demo/webapp) cannot be resolved in either web.xml or the jar files deployed with this application
     at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:194)
     at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
     at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1148)
     at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755)
     at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
     at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1132)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
     at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:543)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:430)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:354)
     at FilterServlet.doPost(FilterServlet.java:61)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:1145)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2366)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1005)
     at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1098)
     at java.lang.Thread.run(Thread.java:534)
Please send me a fully working war file if any one have with the web server used ! Please I have to subit this as my assignment!

You might want to try the latest version of that app included
with JavaMail 1.4. It has a few fixes that might help you.
Hopefully you're not going to take credit for this with your
assignment. :-)

Similar Messages

  • Error of using Java Mail in Web Start

    Hi,
    I got a problem when using Java Mail to send email. My apps is a stand alone and no problem when it was deployed normally. When I used the Web Start to deploy it, the following error was caught when I tried to send email:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_0_2824645.1032281188963"
         at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
         at javax.activation.DataHandler.writeTo(DataHandler.java:305)
         at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089)
         at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1527)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:321)
         at javax.mail.Transport.send0(Transport.java:164)
         at javax.mail.Transport.send(Transport.java:81)
         at com.mailcom.client.util.EMail.sendMail(EMail.java:180)
    Here is the source code:
    public class EMail {
    public static void sendMail(String host,
    String sender,
    String recipient,
    String subject,
    String content,
    Vector fileNames) throws MessagingException {
    Properties props = new Properties();
    props.put("mail.smtp.host",host);
    Session session = Session.getDefaultInstance(props,null);
    session.setDebug(true);
    Message msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(sender));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(recipient,false));
    msg.setSubject(subject);
    Multipart mp = new MimeMultipart();
         // create and fill the first message part
         MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setText(content);
         mp.addBodyPart(mbp1);
    // attach the file to the message
    if(fileNames != null && fileNames.size() != 0) {
    FileDataSource fds = null;
    for(int i = 0; i < fileNames.size(); i++ ) {
    String currentFileName = (String)fileNames.elementAt(i);
         fds = new FileDataSource(currentFileName);
         // create the second message part
         MimeBodyPart mbp2 = new MimeBodyPart();
         mbp2.setDataHandler(new DataHandler(fds));
         mbp2.setFileName(fds.getName());
         // create the Multipart and its parts to it
         mp.addBodyPart(mbp2);
         // add the Multipart to the message
         msg.setContent(mp);
    msg.setHeader("X-Mailer",MAILER);
         // set the Date: header
         msg.setSentDate(new Date());
         // send the message
    line 180     Transport.send(msg);

    Yes. All the third party jar files and our application jar are put on the server side. Here is the JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for software-->
    <jnlp spec="1.0+" codebase="http://www.software.com/apps" href="client.JNLP">
    <information>
    <title>client application</title>
    <vendor> * </vendor>
    <homepage href="docs/help.html"/>
    <description>Client</description>
    <description kind="short">A tool</description>
    <icon href="images/logo.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3"/>
    <jar href="lib/client.jar"/>
    <jar href="lib/mail.jar"/>
    <jar href="lib/smtp.jar"/>
    <jar href="lib/activation.jar"/>
    </resources>
    <application-desc main-class="com.software.client.MainFrame">
         <argument>2226</argument>
         <argument>www.software.com</argument>
         <argument>5351</argument>
    </application>
    </jnlp>

  • Open Microsoft Outlook send mail from Web App

    Hi guys,
    We're planning on using ADF (10.1.2) in our new proposed system. In that app, there's a part where we need to send a mail, just open microsoft outlook(and set To, Fro, attachment file) but not really automatically send the mail. Do I need the Apache POI for this?Or just plain Javascript? Btw, the attachment file is in the server.
    Appreciate your kindest responses.
    Thanks!

    not Apache POI my bad, but Apache Commons email.

  • Java Mail Demo - msgsend.java

    I have placed the 2 files into the following directories
    and updated the classpath as follows
    c:\j2sdk1.4.0_02\jre\lib\ext\mail.jar
    c:\j2sdk1.4.0_02\jre\lib\ext\activation.jar
    CLASSPATH = C:\j2sdk1.4.0_02\jre\lib\extmail.jar; C:\j2sdk1.4.0_02\jre\lib\ext\activation.jar
    The program compiles fine but when I go to run it says:
    Exception in thread "main" java.lang.NoClassDefFoundError: msgsend
    I have made no changes to the code, and my claspath seems correct. Any ideas?

    The class that could not be found was the msgsend.class not the ones in the jar files. The jar files were pathed fine since you were able to compile the class. The reason you were getting the error was because the local directory was not in the classpath.
    I specify the local directory by adding a period (c:/some.jar;.) to the end of the classpath in the environment variables in Windows and set it in the shell script I use to execute with in Linux.
    I believe that setting the classpath from the command line will automatically include the directory you are currently in which would explain how you got it to work.

  • Java Web App for EP5 SP5

    Hi
    Recently I developed a Java web app for a Portal client.  The client is on EP5 SP5 with ITS and LDAP servers (a 3 server architecture).  I then used the deployment tool to create the necessary ear file and then successfully deployed it to the SAP J2EE Engine.  I then navigated to the following url:
    http://<portal_server>:8100/<web_app>/welcome.jsp
    However I am having trouble with the following:
    1) the jsp pages are not being rendered properly.  in fact welcome.jsp does not have any jsp tags at all but I am still getting a compiling exception.  as soon as I change the extension to .html the page is displayed fine.  issue: why am i not able to view the jsp pages.  error: com.inqmy.services.servlets_jsp.jsp.CompilingException ID 17013
    2) the web app I have developed utilises the sapjco functionality to connect to the relevant R3 system.  in my web app directory structure I have included the necessary sapjco.jar in the WEB-INF/lib directory but get the attached jco error. (I shouldnt need to set the classpath since the sapjaco.jar file must get picked up from WEB-INF/lib directory).  Error: At times I get a NoClassDefFoundError stopping at the line which requires the sapjco.jar file (where it uses JCo.Pool class) and at other times I get the "could not load middleware layer".
    I have tried numerous things to fix it but in vain.  Any thoughts around how I could go about resolving the issues will be greatly appreciated. 
    Willing to provide screenshots if required.
    Cheers
    Ankit

    Hi Alon
    Thanks a lot for the info!!
    I have read the doco you asked me to have a look at and it sounds reasonable.  But the question that I have is that is it possible to successfully include the relevant jar's in the application's WEB-INF\lib folder?? I ask this since I would expect the SAP j2ee class loader to look at the required jar's in the WEB-INF\lib folder?!? (Also the section on "Adding a Reference from a Deployed Application to a Service or Library" talks about an app that may want to use resources from OUTSIDE the application EAR.)
    So if I use any jar's such as sapjco, xerces, activation and mail I will need to add them to the library.txt if they are not already there (which they should be since the portal uses them) and then add the reference in reference.txt.
    Your thoughts will be appreciated.
    Cheers
    Ankit

  • SAP EP5 SP5 Java web app problem

    Hi
    Recently I developed a Java web app for a Portal client. The client is on EP5 SP5 with ITS and LDAP servers (a 3 server architecture). I then used the deployment tool to create the necessary ear file and then successfully deployed it to the SAP J2EE Engine. I then navigated to the following url:
    http://<portal_server>:8100/<web_app>/welcome.jsp
    However I am having trouble with the following:
    1) the jsp pages are not being rendered properly. in fact welcome.jsp does not have any jsp tags at all but I am still getting a compiling exception. as soon as I change the extension to .html the page is displayed fine. issue: why am i not able to view the jsp pages. error: com.inqmy.services.servlets_jsp.jsp.CompilingException ID 17013
    2) the web app I have developed utilises the sapjco functionality to connect to the relevant R3 system. in my web app directory structure I have included the necessary sapjco.jar in the WEB-INF/lib directory but get the attached jco error. (I shouldnt need to set the classpath since the sapjaco.jar file must get picked up from WEB-INF/lib directory). Error: At times I get a NoClassDefFoundError stopping at the line which requires the sapjco.jar file (where it uses JCo.Pool class) and at other times I get the "could not load middleware layer".
    I have tried numerous things to fix it but in vain. Any thoughts around how I could go about resolving the issues will be greatly appreciated.
    Willing to provide screenshots if required.
    Cheers
    Ankit

    Hi Ravi
    I used the SAP J2EE Engine Deploy Tool to create the war and ear archives as well as deploy the ear archive.  As I used this tool I included the required jar files inclusing the sapjco.jar inside WEB-INF\lib of the web archive (WAR).  I tested this in a tomcat environment before deploying it to the portal environment.
    1) The screendump is as below:
    Internal Server Error 500!
    com.inqmy.services.servlets_jsp.server.jsp.CompilingException: ID17013: Error in compiling : java.io.IOException: CreateProcess: javac -encoding UTF8 -nowarn C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\changePassword\work\jsp_welcome1092865716140.java -classpath ".;.\system-lib\boot.jar;.\system-lib\jaas.jar;;.;.\additional-lib\jnet.jar;.\additional-lib\jdbc20.jar;.\services\iiop\iiop.jar;.\services\servlet_jsp\servlet_jsp.jar;.\services\p4\p4.jar;.\additional-lib\mail.jar;.\services\dbpool\dbpool.jar;.\additional-lib\connector.jar;.\additional-lib\activation.jar;.\services\deploy\deploy.jar;.\additional-lib\jta.jar;.\services\ts\ts.jar;.\additional-lib\jsse.jar;.\additional-lib\servlet.jar;.\additional-lib\ejb11.jar;.\additional-lib\jms.jar;.\services\ejb\ejb.jar;;C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\changePassword\root\WEB-INF\lib\activation.jar;C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\changePassword\root\WEB-INF\lib\inqmyxml.jar;C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\changePassword\root\WEB-INF\lib\jcoapi.jar;C:\SAP_J2EEngine6.20\alone\D
         at com.inqmy.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:296)
         at com.inqmy.services.servlets_jsp.server.jsp.JSPServlet.getClassName(JSPServlet.java:333)
         at com.inqmy.services.servlets_jsp.server.jsp.JSPServlet.service(JSPServlet.java:207)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:136)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:856)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:598)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:260)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:164)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:909)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:132)
    As advised by you I included the inqmyxml.jar file in the WEB-INF\lib folder for this application.  But it doesnt seem to have made a difference.
    2) for the second issue where sapjco.jar isnt found the error is as seen below.  At line 42 in R3.java I make a  JCO call -
    pool = JCO.getClientPoolManager().getPool(POOL_NAME);
    Error Dump below:
    java.lang.NoClassDefFoundError
         at R3.(R3.java:42)
         at ChangePassword.doPost(ChangePassword.java:76)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:136)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:856)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:598)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:260)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:164)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:909)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:132)
    I would have expected EP5 to be able to find the appropriate jar files.  Especially since it has its own library of jar files to work with.  I was reading some J2EE Engine doco and came across two files library.txt and reference.txt.  Do I need to maintain these files as I deploy my application?
    Your thoughts will be appreciated.
    Cheers

  • With 8.0 version of Firefox, clicking links to .tif files on a java web app are being downloaded as .ppt, .part.ppt., or .ppt.part. The change of name to PPT causes them to associate with powerpoint. IE opens the files normally as .tif as expected.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

  • Java web app, JNI & shared libraries.

    I am developing a web application where the core functionality resides in a compiled dynamically shared library developed in C. I have developed wrapper methods to this library in via the JNI. The web framework is Struts to be deployed in Websphere. The business logic will be done in Java.
    As this is a webapp, there will be multiple client requests coming into the container at once. I understand how the servlet lifecycle works and have coded the Java portion of the app to be concurrency aware. However, I am not too sure as to how the code in the shared library will work with concurrent requests.
    The JNI methods are currently coded as static methods. So will multiple requests conflict with eachother in the calls to the native code? And if so, can I place the calls to the native methods in a synchronization block to prevent data corruption in the native code?

    So will multiple requests conflict with
    eachother in the calls to the native code?The calls itselves won't conflict. You just have several Java threads executing the same native method simultaneously, this is normal.
    On the other hand, If your C code is not thread-safe (e.g it keeps data in static variables) then you would definitely like to surround each JNI calls with synch block.
    However, this may lead to poor performance and scalability - if all threads but one are hanged on a semaphore....
    Denis.
    http://www.excelsior-usa.com/xfunction.html
    Library for painless JNI programming

  • Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.

    Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.  Is there a solution to this issue?

    I've seen the opposite issue.  My wife recieved an email with jpg attachments.  She couldn't see or print them on her iPhone 4S but they showed up fine in iCloud or in the mail app.  I had her forward the email to herself and then they showed up.  I assume there is an issue with how Apple is processing the attachments and resending causes them to get reformatted in a way that makes them easier to handle.
    So yeah.  Seems like some bugs.  Hope Apple fixes them soon.

  • Can't "send" mail in Outlook Web App

    Firefox version 34 on Ubuntu Linux 12.04
    Several users cannot "send" email using the Outlook Web App. I'm in the process of contacting Microsoft to see if the problem is on their end. The "send" button works fine in Chrome.
    I've tried:
    -Using the keyboard shortcut (Alt-S)
    -Restarting firefox with addons disabled
    -Changing the zoom level
    -Tried in Private mode
    -Tried using the popout window to compose and send
    -Tried disabling the proxy (does not work with or without the proxy)
    I've noticed that after creating a new message, no draft is saved. Cannot send with a new message or when replying.

    Did you realize this is a forum for MacBook Pro's? Outlook is a Microsoft product that only runs on MS Windows. Perhaps you could provide more information such as:
    I am running Windows XP, Vista, Win 7 under Boot Camp and am attempting to send mail using Outlook. I am running into the following problems........ and then tell more about how you have set up Outlook, what issues you are having and what troubleshooting steps you have taken.
    At any rate if you are using Boot Camp, Fusion, Parallel's etc.. your best bet is to begin posting in those forums. This is a forum for MacBook Pro's 2008 or later. You can find the Boot Camp forum at:
    http://discussions.apple.com/category.jspa?categoryID=237
    Regards,
    Roger

  • How to remove repeated mails in exchange online outlook web app

    Hi,
    Any help me , how to remove repeated mails in exchange online outlook web app . As we are in process of migrating mailboxes to office 365 . We have migrated 5 mailboxes . But when i checked outlook web app after migration completed , i could see repeated
    mails . When i compared with on premise outlook and office 365 outlook web app  , there was lot of differences in read and unread mails . 
    Customer is expecting , same read and unread count should be replicated to office 365 owa.
    Please suggest me to prevent this problem . As this is very urgent to give solution to customer . 
    Big thanks in advance.
    Vinoth .

    If you've setup Outlook 2013 so it's connected to Office 365, and you've import the .pst file into Outlook, it will be showing as another "mailbox" within Outlook, but default called "Personal Folders" (unless you renamed it when it was created).
    You should find that you can simply copy the mail items / folders from Personal Folders into their new home in the Office 365 mailbox. Once that's done Outlook will synchronise the items with o365 which may obviously take a while to complete, but once it's
    finished those messages will be available online.

  • Installed FSCM 9.2 Demo w/ tools 8.53 on OEL 6, Oracle DB, Booted Web/App/Prcs ok, but error "Authorization Error -- Contact your Security AdministratorAuthorization" on page

    Installed FSCM 9.2 Demo w/ tools 8.53 on OEL 6, Oracle DB, Booted Web/App/Prcs ok, but error "Authorization Error -- Contact your Security Administrator" on page. Has anyone encounter this issue. I have done most of the usual troubleshooting already.

    Hi,
    Roles linked to users are stored table psroleuser.
    When I run following sql statement in my FSCM 9.2 demo env for user VP1, it returns 95 roles.
    select * from psroleuser where roleuser = 'VP1';
    And my environment is a ootb demo installation.
    Here is an export of my config that you can try to load in your env, but something has definitely gone wrong for your env.
    For a list of PeopleTools Security tables have a look at following blog
    PeopleTools Security - PeopleSoft Wiki
    REM INSERTING into psroleuser
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ADS Designer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTF Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTF Editor','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTF User','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Search Query Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PeopleTools','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Catalog Partner','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CC_ADMINISTRATOR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CC_USER_PO','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CC_USER_REQ','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CLAIMS_MGR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CLERK','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','XMLP Power User','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','VMI Manager','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','XMLP Report Developer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_EXPENSE_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_INV_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EOEN_USER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ePro Buyer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ePro Admin','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Search Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Search Developer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Search Server','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','IT Asset Manager','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ITEMLOAD_CONTACT','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','MANAGER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PAPP_USER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PBM User','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PeopleSoft User','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EMPLOYEE','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Employee North America','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Ent Utilities Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EOPP_USER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Event Buyer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Event Seller','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Forecaster','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Grants Super User','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EX_EMPLOYEE','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','MIN Adminstrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Connected Queries Developer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PeopleSoft Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Integration Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Supplier Contract Interested','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Supplier-Application Admin','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','UPG_ALLPNLS','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','UPG_APPSRVR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','VICE PRESIDENT','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','System Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Treasurer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EOTF_ADMIN','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ProcessSchedulerAdmin','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Project Owner','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Grants Workflow By Pass','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Inventory Policy Planner','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','CONSUMER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','DEALING MANAGER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PivotGridAdmin','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTLT_IMPLEMENTER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTLT_INTERNAL_APPS','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Translation Utilities','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ADMINISTRATOR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','AM_SS_ACCOUNTING_CLERK','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','PTLT_PROJECT_MGR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','RE_ADMIN','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Security Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SETTLEMENT_MGR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_ADMINISTRATOR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_COORDINATOR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_EXECUTIVE','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','RE_SUPER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','EOTL_Admin','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_INVOICE_MANAGER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_PLOG_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_PROVIDER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_PROVIDER_CONTACT','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_REQUESTER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_TIME_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SP_WO_APPROVER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','SUPERVISOR','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Supplier Contrct Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Demand Planner','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Employee','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Plan Approver','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Portal Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','ReportSuperUser','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','AM_SS_MANAGER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','App Developer','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','BAM Administrator','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','BANK MANAGER','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Budget Approver','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Call Center Agent','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Call Center Specialist','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Cash Manager','N');
    Insert into psroleuser (ROLEUSER,ROLENAME,DYNAMIC_SW) values ('VP1','Catalog Administrator','N');

  • HTML/Java/J2ee IDE / Dev WEB app

    I am creating one web application using Java/J2EE. My web page would contain menu and sub menu system.
    I have to use HTML/JSP/Servlet/EJB/SQL Server.
    For HTML I am using dream weaver and for java code notepad.
    I want to use some GUI tool to develop this application.
    1.     GUI for developing HTML page and text editor for Java code with drag and drop facility for HTML and JAVA/J2ee both with easy integration between these two technology components.
    Or
    2.     Any single GUI tool which provide HTML and JAVA/J2EE editor and drag and drop facility for HTML and JAVA/J2ee both.
    Please help me by suggesting!

    Now, with all this added complexity, what was the
    point. I kinda thought it was to create a standard, so
    that deployment was easy.I agree that deployment is not as easy as you would like it to be. However most of this added complexity is to handle situations consistently. And nowadays there are plenty of tools available (my Company makes one), which can simplify the deployment.
    Can anyone out there tell me why we should conform to
    these standards if the web app servers
    won't!!!!!!!!!!!!!!!!!!!!!!!!!That is not how it should be, I agree. While building OptimalJ (the tool we make)we experienced differences between app servers as well. However again, there are tools which make this easier for you (although I don't think they solve it completely yet...).
    Hopefully we end up in a situation where all EAR files can be interchanged more easily.
    Regards,
    Michiel.

  • Mail.app will not send (att) mail. Web mail and Thunderbird can send.

    Mail.app will not send (att) mail. Web mail and Thunderbird can send.

    I'm having the exact same problem on my iMac. I can receive email from imap.mail.yahoo.com, but cannot receive from smtp.mail.yahoo.com. I have not changed these settings in years and as of a few days ago they stopped working. These settings work fine on my iPhone and iPad.
    So far I have:
    -Deleted accounts and reestablished them
    -Deleted the Mail preference file ->com.apple.mail.plist

  • Java Web Start & Java Mail

    I can send email from my application using Java Mail when I include mail.jar in my classpath in the launch.bat file i use to luanch the application.
    Now, I am using Java Web Start to launch my application and whenever I try to send out emails from my application I got an error message about no provider found or something like that.
    Anyone know how to get around this?

    hi
    could you tell me exactly what error message you receive?
    angela

Maybe you are looking for