Trouble with Sun One 7 and JAAS

Guys,
I've been having a trouble with JAAS and Sun One 7:
- An user1 logins at application and then, open an authorized page;
- After x minutes (expressed in session-config web.xml tag), login page is automatically loaded;
- At this time, an user2 (with another profile) logins in the same app, after expired session from user1.
So, what's happening? User2 can access the same page User1 had accessed, but User2 is more restrictive than User1, so, he couldn't access the resource.
Please, help me, I don't know what to do.
Thank u,
Evandro.

Hi
If you want to send messages around an application using the embedded S1MQ message broker, the trick is that -- in general -- you must create the message destinations on the broker as a separate step from configuring the appserver. Then you tell the appserver how to bind a JNDI name to the destination on the broker. To create the destination on the broker, you can use the imqadmin tool (which is part of the message broker, and not the appserver). You can create both queues and topics this way. Let's suppose you created a queue called `fred'. Then you need to bind a JNDI name to this queue on the appserver.:
asadmin create-jms-resource user admin password somepassword resourcetype javax.jms.Queue property imqDestinationName=fred jms/fred
Then in the application server code you can get to the message queue by looking up `jms/fred' (strictly speaking, you should look up a java:comp/env name which you bind to jms/fred in your deployment descriptor, but that's another matter).
You'll need to do the same thing for the queue connection factory: create it using imqadmin, then bind it using asadmin.
You can do the asadmin stuff instead using the web-based admin console, but you can't (so far as I know) create the actual destinations on the broker this way.
I hope this helps. If it doesn't, copies of the relevant error message -- in full -- would help me.
Best wishes
Kevin

Similar Messages

  • Need help with sun one and xml

    I have installed the Java Web Services Developer Pack. I am also using Sun One ide. I am trying to import the dom package. When ever i use "import org.", in the Sun One ide to lookup the packages, no packages come up for w3c.dom. I have tried to just use "import org.w3c.dom;", but i get an error when i try to instantiate a DOMImplementation. The JWSDP says that you do not need to register any classpaths. Any help would be much appreciated.

    I've noticed that no packages come up either.
    Try:
    import org.w3c.dom.*;
    to import all the classes, or be more specific:
    import org.w3c.dom.Node;
    (this is better coding style as you know exactly what classes you are using)
    Hope this helps
    Chalotte

  • Trouble with CCME 4 and VIC2-2FXO; IOS 12.4(9)T

    Trouble with CCME 4 and VIC2-2FXO; IOS 12.4(9)T
    I am having trouble making outgoing call or answering incoming call.
    When I try to call out from my IP 7961 phone, it fails with the message "unknown number".
    For incoming call, it rings but when I pick up the call nothing happens,
    Put the receiver back on hook, the phone carries on ringing. I am in UK
    and just trying to set up test system with one analogue line. Any help will
    be most appreciated. My config of the 2811 router is posted below. All calls ineternally works fine.
    Thank you for your help.
    hostname Test-CME
    ip cef
    no ip dhcp use vrf connected
    ip dhcp excluded-address 10.10.10.1 10.10.10.10
    ip dhcp excluded-address 10.139.139.1 10.139.139.10
    ip dhcp pool host
    network 10.10.10.0 255.255.255.0
    default-router 10.10.10.1
    option 150 ip 10.10.10.1
    ip dhcp pool data
    network 10.139.139.0 255.255.255.0
    default-router 10.139.139.1
    dns-server 10.139.139.5
    voice-card 0
    no dspfarm
    voice service voip
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    h323
    sip
    header-passing
    registrar server expires max 3600 min 3600
    interface FastEthernet0/1
    no ip address
    no ip mroute-cache
    duplex auto
    speed auto
    no shut
    interface FastEthernet0/1.2
    description ** Data VLAN **
    encapsulation dot1Q 2
    ip address 10.139.139.1 255.255.255.0
    interface FastEthernet0/1.3
    description ** Voice VLAN **
    encapsulation dot1Q 3
    ip address 10.10.10.1 255.255.255.0
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http path flash:
    tftp-server flash:S00104000100.sbn
    tftp-server flash:TERM41.7-0-3-0S.loads
    tftp-server flash:term61.default.loads
    tftp-server flash:term41.default.loads
    tftp-server flash:CVM41.2-0-2-26.sbn
    tftp-server flash:cnu41.2-7-6-26.sbn
    tftp-server flash:Jar41.2-9-2-26.sbn
    tftp-server flash:term70.default.loads
    tftp-server flash:term71.default.loads
    tftp-server flash:cnu70.2-7-6-26.sbn
    tftp-server flash:Jar70.2-9-2-26.sbn
    tftp-server flash:TERM70.7-0-3-0S.loads
    tftp-server flash:CVM70.2-0-2-26.sbn
    control-plane
    voice-port 0/3/0
    connection plar opx 202
    caller-id enable
    dial-peer voice 1 pots
    incoming called-number .
    destination-pattern 9T
    port 0/3/0
    telephony-service
    load 7914 S00104000100
    load 7941 TERM41.7-0-3-0S
    load 7961 TERM41.7-0-3-0S
    load 7970 TERM70.7-0-3-0S
    max-ephones 20
    max-dn 40
    ip source-address 10.10.10.1 port 2000
    calling-number initiator
    service phone videoCapability 1
    system message MKC CME
    url services http://10.10.10.1/voiceview/common/login.do
    url authentication
    http://10.10.10.1/voiceview/authentication/authenticate.do
    time-zone 21
    date-format dd-mm-yy
    voicemail 600
    max-conferences 8 gain -6
    call-forward pattern .T
    call-forward system redirecting-expanded
    moh music-on-hold.au
    web admin system name admin secret 0 test
    dn-webedit
    time-webedit
    transfer-system full-consult dss
    transfer-pattern 9.T
    secondary-dialtone 9
    create cnf-files
    ephone-dn 1 dual-line
    number 201
    label 201
    description Sarah
    name Sarah
    ephone-dn 2 dual-line
    number 202
    label 202
    description Vitthal
    name User2 Vitthal
    ephone-dn 3 dual-line
    number 203 secondary
    label 203
    description Neil
    name User3 Neil
    ephone 1
    video
    username "user1" password 201
    mac-address 0018.18EE.947F
    type 7961 addon 1 7914
    button 1:1
    ephone 2
    video
    username "user2" password 202
    mac-address 0018.18BB.B973
    type 7941
    button 1:2
    ephone 3
    video
    username "user3" password 203
    mac-address 0018.1885.6BA2
    type 7970
    button 1:3

    Hi
    Please find enclosed debug attachment for voice ccapi and ephone. First, I called from outside. Extension 202 rings but when I answered on extension 202 nothing happens. Replace the rceiever and the pone starts ringing again.Second step. I tried to call out by dialing 9 and then number but after a while phone displays unknown number.
    Thank you for your help.
    Vitthal

  • Using JMF API with Sun One Studio v4 update 1 (community ed.)

    Having great difficulty trying to utilise the JMF API I've just downloaded with Sun One Studio v4, update 1 (community edition).
    After installing the API, I tried copying the the .jar files under the lib folder of JMF to the lib folder of sun one studio.
    Although admittedly a novice in the field of adding API's I have attempted to add the .jar files into the libary of recognised modules but made no progress.
    The problem is that although JMF API is installed, Sun One Studio does not seem to be aware of this and so does not recognise any associated libraries e.g. java.media or JMFApplet.
    I would appreciate advice from anyone who knows how to configure Sun One Studio to utilise the JMF API.
    Mark

    All right, I think I may have solved it. After mounting jmf.jar I needed to update the parser database. All the libraries seem to be there.
    Can someone clarify though, the trial program i'm using makes reference to: java.media
    I don't have this module. I do instead have javax.media which I believe includes all the methods of the java version. Am I right or am I missing this crucial module??

  • HT1657 I rented Trouble with the Curve and haven't it yet and I when I went to watch the movie it tells me the file can not be found -  please help

    I rented Trouble with the Curve and haven't it yet and I when I went to watch the movie it tells me the file can not be found -  please help

    Yes, thank you.  My apologies, I was typing one handed and did not add that. 
    Anyway, I have tried deleting the cache, deleting my pics and then re-syncing, etc. and nothing is working This is very frustrating, as I had no problems up until about 2 weeks ago, and now all of a sudden, I have this issue......UGH!

  • Debug RMI - Service with Sun One Studio

    Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via
    rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.policy=%POLICY% -log %RUNDIR% >%RUNDIR%\server.log
    Then I register the service to the daemon and attach the debugger in the studio to the address "dime". This seems to work, but the service does not stop at breakpoints set in the debugger.
    Can someone help?

    I set the breakpoints at false line numbers (method heads). Now It works fine (breakpoints, watches, ...). The only thing is, that the current line is not visible in the source (although the line number is displayed correctly).

  • Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0

    Hi,
    Has any one working Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0 ?
    When i add new application server it gives only Oracle App Server and Web Logic.
    Thanks
    Ramesh

    Currently JDeveloper provides Application server connections to Oracle9iAS and WebLogic, which can be used to deploy J2EE Modules.
    JDeveloper allows to create assemble generic J2EE archives from projects which can used to deploy to other application servers.
    Check out How-To documents on this topic
    http://otn.oracle.com/products/jdev/howtos/content.html
    raghu
    JDev Team

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

  • Trouble with internal keyboard and touchpad

    Hi,
    Yesterday I just out of nowhere started having some trouble with my keyboard and touchpad on my MacBook Air.
    The problem displayed itself on various ways. One thing was that I couldn't press regulary with the touchpad. When I was pressing one time, it acted like a pressed with two fingers. When I tried to type in my password on the administrator page, some of the keys didn't work at all and some started to act weird. For example when I was pressing the letter B, the "bar" which displayes where you are in the text (don't know the word in English) went backwards, and when I pressed the letter F it went forward. This seemes so weird and also gives me a hope that it might be some setting failure though B stands for backwards and F stands for forward.
    I could log in to the guestpage where I tried to write in "notes". In notes, no letters at all was working, only numbers. When I tried to shut the computer down from the apple symbol I was asked to write administrator name and password. When I tried to mark the name to write it, there wasn't a "bar" but a cross, but on the other hand did it work to write in the password field. But of course not B and F..
    Usualy I'd just press the on/off botton until the computer lockdown, unfortunately the botton doesn't work. So the only thing I could do was to let the battery die and hope that it would start when I recharged it and pressed start, this didn't go as well as I hoped, so now I'm stuck with a dead macbook air.
    Any ideas of what could be the problem or/and any solutions what might do the trick?
    Extremly greatful for any answers

    Yes you need to use a wired keyboard.

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Fail to run my first Servlet with Sun ONE Studio 4 Update 1 (+ bi Tomcat)

    Hello !
    I failed to run my first Servlet with Sun ONE Studio 4 update 1 ( with built in Tomcat)
    I think that I followed most of the online instructions,
    so I successfully run a JSP file,
    but I failed with my first servlet:
    The error message is:
    "Standard Wrapper[:MyServlet]: Marking servlet MyServlet as unavailable
    javax.servlet.ServletException: Wrapper cannot find servlet class com.hemmerling.myservlet.MyServlet
    or a class it depends on
    So please don�t ask me for the code of the servlett ( simply taken from a book),
    but tell me why the one-and-only servlett was not found. what might I have done wrong, if I did everything I did to run the JSP file, too ?
    Of couse I copied the file into the "Classes" directory of the Webmodule ( WEB-INF ) and "processed" it, so that I was able to execute it.
    Any suggestions ?
    Tia
    Sincerely
    Rolf

    Tough to say, but try:
    1. Put the servlet in a package. If you're using the default package (class file in WEB-INF/classes directory, then Tomcat may not find it.
    2. Check out web.xml to ensure the <servlet> and <servlet-mapping> entries are correct.
    3. Make the servlet as simple as possible so you're sure that it is the servlet itself that cannot be found and not some other class that it uses.
    Good Luck

  • Trouble With Opening InDesign and now Photoshop and Illustrator

    First off I apologize if this isn't in the correct section. I couldn't find a section specific to my problem since it involves multiple aspects of Adobe products. I was having trouble with InDesign, it kept crashing. So I followed all of the advice I could find on the forums about deleting the preferences and cache information in the Library folder, and that didn't seem to make a difference. So then I thought maybe it needed an update, so I logged into Adobe Application Manager and sure enough, it did. So I clicked on "download" and it stalled there too. Then the manager became unresponsive. I couldn't cancel the update or log out or anything. So then I saw in the forum someone suggested the Adobe Creative Cloud Cleaner Tool if your manager becomes unresponsive. I ran that and then shut my computer off. When I turned it back on, InDesign started working BUT my Photoshop is completely gone from my system (I never messed with it in the first place since I wasn't having any trouble with it.) And the when I tried to click on Illustrator it said "Do you want to begin your trial?" Huh?
    I have had a subscription since 2012, why on earth would it suddenly think that I no longer should have access to these programs? If I log on to my Adobe account it shows my subscription and that it's up to date (last payment was April 5, 2015). The versions I was using were the CS versions that I had downloaded directly from Adobe and when I used to have any trouble or when I got a different computer I could just log into my account and then redownload them. They are no longer showing under my products, so I can't figure out what on earth is going on. The website has changed since the last time I downloaded them, so that partly could be me, but I thought they would at least be showing up under products. I contacted Adobe support and the first person I talked to on chat said "this is clearly a technical issue I am transferring you to someone better suited for this," but that's all he said. And I haven't heard from anyone since so I thought I'd make a topic and see if anyone else out there has had a similar problem.

    The versions I am using are the CS6 versions.*

  • Netmeeting Integration with Sun One Portal Server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

  • Netmeting  with Sun one Portal server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

  • Having trouble with wav files and sample rates

    Hi ,I am having trouble with wav files and sample rates .I have been sent multiple projects on wav as the main instrumental ; I wish to record in 48.000kHz .Now comes the problem.When I try to change the project to 48k It seems to pitch up the track.I can't have them send the logic/project file as most have outboard synths,different plug ins etc.This particular case the producer has recorded the synth task in 41.000 kHz .My successful outcome would be to be able t create a project file in 48 kHz .And NOT pitch up whne I add the instrumenta wav file .Any help would be gratefully recieved,this is my first post so any mistakes I may have made go easy 

    You'll have to convert the actual synth audio file file that the producer gave you to 48kHz. You can do this in the audio Bin in Logic.

Maybe you are looking for

  • Shared Variable programatic access error -1967362038

    I am trying to read/write about 300 tags from a AB ControlLogix 5561 processor from Labview 2011 on windows XP SP2 through RSLinx Classic OEM OPC Server. At first, I tried to do everything through front panel data binding through Datasocket, but I've

  • Error in PCK start up page

    hi all , when i tried url for PCK start http://localhost:57000/pck/start/ it gives an error Application cannot be started! Details: com.sap.engine.services.deploy.container.DeploymentException: Cannot activate endpoint for message-driven bean sap.com

  • Tomcat JNDI Datasources

    I tried to configure a JNDI datasource in tomcat 5.0, I am facing the following error java.sql.SQLException: Cannot load JDBC driver class 'null'         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)         at

  • I can't turn the volume up or down on my MacBook Pro?

    I can't turn the volume up or down on my MacBook Pro? It shows a kind of "stop" sign? I can get the speakers to work by connecting my headphones to the computer and choosing the sound to be on the speakers, but as soon as I take the headphones out, I

  • Yamaha psr 262 keyboard isn't recognized by GB

    I have a Yamaha PSR 262 keyboard connected to my Macbook pro, running Leopard. It is connected via a M-audio midi-to-usb connection. In preferences, I have confirmation that one midi connection is establised. However, the keyboard icon doesn't appear