Problem with creation of Logout Option

Hi guys.. I am working on Servlets ..but i cant sort such a trivial issue:
I have got a login page.. a normal HTML.. and the user logs in.. The user authentication is handled by a servlet .. if the user is authenticated.. then it is redirected to the main page I am using URLrewriting for this ..
res.sendRedirect(res.encodeURL("/project/welcomecustomer"));The address bar is like :
http://localhost:3751/project/welcomecustomer;jsessionid=f6b52f816e5e7534f1b6a8cb9f559Now in this main page.. I have an hyperlink.. such as
<p>Logout</p>
and this 'logout' is again a servlet.
But the problem is i cant invalidate the session.. What is happening is if the user copies the URL when in the main page and pastes it later after logging out.. the main page gets displayed.
How do i destory this session?

During logout do ...
session.invalidate()
This will ensure that the sessionId becomes invalid.
But if the user only closes browser then the session will timeout on its own say after 30 secs..
So he may still be able to access the page in case he copies the URL and pastes it in another browser window before session timeout.

Similar Messages

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Problem with creation of jar with external libraries

    hi guys, I've no problem with creation of jar,i use this command:
    jar -mcf MANIFEST.MF NameFile.jar *.class
    my file manifest is this:
    Manifest-Version: 1.0
    Created-By: Me
    Main-Class: NameFile
    Now,I've to make a jar file,but i have to use some external libraries in jar format.
    I've read on sun tutorial and i've added to manifest this line:
    Class-Path: dt.jar formshelp.jar formsrt.jar jh.jar looks-1.3.1.jar substance.jar TableLayout.jar
    But the jar file doesn't work, neither with a double click nor with console...
    Someone can help me?Thanks!:)

    Darkweb wrote:
    sorry but,the external libraries that i use are in .jar,what i've to do to include these libraries in my jar?One of 3 things
    1) Take them out of the jar, and put them in a folder, preferably a folder in the same folder as the jar
    2) Write a custom classloader to load classes from nested jars
    3) Extract the contents of all the dependency jars, and jar them all up with your own code
    The first is almost always the most preferable, the second one is doable but brittle and resistent to updating dependencies ( you have to release everything for any changes you need, even if it's not a change in your own code ) and the third one is tedious and suffers from the same robustness problems of the second, not to mention that a lot of software licences prohibit you from actually doing it. Do the first one, it's by far the most common and easiest to maintain. I really wouldn't advise the third option, ever, though. Any activity that reduces the modularity of your application is ill-advised

  • Problem with Creation of TemSe file...

    HI Experts...
    Here im facing the problem with creation of # 3 rd Quarters
    Temse file.when ever i use the tcode pc00_m40_f24 and entering the details of quater 3 ...here im showing up the ABAP Runtime error."""Overflow for arthimitic operation Type P in program  HINCF240"".
    What could be done to overcome the problem.Please advice.
    Regards,
    V Sai.

    Hi experts/Sriram...
    Thanks for the reply.
    The -
    >showing the line....
            QS80_TAB-DEDMT=QS80_TAB-DEDMT+S80-DEDMT
    Where should we change to get rid of this runtime error.
    Here in my quality everthing is fine and we have uploaded patches in quality upto recent one sp80.But in prod. the patchlevel is sp71.Will it be the reason.
    Please advice me on this as i have to complete the issue of F16.
    Thanks and Regards,
    V Sai.

  • There is any Performance problem with Creation of many Y or Z  Programs.

    HI,
    There is any Performance problem with Creation of many Y or Z  Programs. plz give clarity regarding this to me......
    regards
    ganesh

    Ganesh,
    Can you please mention the context and the purpose of creating these custom program.  And application are you referring to?
    Regards,
    Rohit

  • Compilation problem with templates while using option -m64

    Hi,
    I have compilation problem with template while using option -m64.
    No problem while using option -m32.
    @ uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    $ CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    Here is some C++ program
    ############# foo5.cpp #############
    template <typename T, T N, unsigned long S = sizeof(T) * 8>
    struct static_number_of_ones
    static const T m_value = static_number_of_ones<T, N, S - 1>::m_value >> 1;
    static const unsigned long m_count = static_number_of_ones<T, N, S - 1>::m_count + (static_number_of_ones<T, N, S - 1>::m_value & 0x1);
    template <typename T, T N>
    struct static_number_of_ones<T, N, 0>
    static const T m_value = N;
    static const unsigned long m_count = 0;
    template <typename T, T N>
    struct static_is_power_of_2
    static const bool m_result = (static_number_of_ones<T,N>::m_count == 1);
    template <unsigned long N>
    struct static_number_is_power_of_2
    static const bool m_result = (static_number_of_ones<unsigned long, N>::m_count == 1);
    int main(int argc)
    int ret = 0;
    if (argc > 1)
    ret += static_is_power_of_2<unsigned short, 16>::m_result;
    ret += static_is_power_of_2<unsigned int, 16>::m_result;
    ret += static_is_power_of_2<unsigned long, 16>::m_result;
    ret += static_number_is_power_of_2<16>::m_result;
    else
    ret += static_is_power_of_2<unsigned short, 17>::m_result;
    ret += static_is_power_of_2<unsigned int, 17>::m_result;
    ret += static_is_power_of_2<unsigned long, 17>::m_result;
    ret += static_number_is_power_of_2<17>::m_result;
    return ret;
    Compiation:
    @ CC -m32 foo5.cpp
    // No problem
    @ CC -m64 foo5.cpp
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 36: Where: While specializing "static_is_power_of_2<unsigned long, 16>".
    "foo5.cpp", line 36: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 37: Where: While specializing "static_number_is_power_of_2<16>".
    "foo5.cpp", line 37: Where: Specialized in non-template code.
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 43: Where: While specializing "static_is_power_of_2<unsigned long, 17>".
    "foo5.cpp", line 43: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 44: Where: While specializing "static_number_is_power_of_2<17>".
    "foo5.cpp", line 44: Where: Specialized in non-template code.
    4 Error(s) detected.
    Predefined macro:
    @ CC -m32 -xdumpmacros=defs foo5.cpp | & tee log32
    @ CC -m64 -xdumpmacros=defs foo5.cpp | & tee log64
    @ diff log32 log64
    7c7
    < #define __TIME__ "09:24:58"
    #define __TIME__ "09:25:38"20c20
    < #define __sparcv8plus 1
    #define __sparcv9 1[snipped]
    =========================
    What is wrong?
    Thanks,
    Alex Vinokur

    Bug 6749491 has been filed for this problem. It will be visible at [http://bugs.sun.com] in a day or two.
    If you have a service contract with Sun, you can ask to have this bug's priority raised, and get a pre-release version of a compiler patch that fixes the problem.
    Otherwise, you can check for new patches from time to time at
    [http://developers.sun.com/sunstudio/downloads/patches/]
    and see whether this bug is listed as fixed.

  • Can you help with technical problems with the stereo imagry option

    can you help with a technical problem with the stereo imagery option ? it won't take out lead vocal in a stereo mp3'

    Because this forum software is so absolutely USELESS now, you don't get to see the whole of the question in this view. In the other (non-list) view it says:
    "can you help with a technical problem with the stereo imagery option ? it won't take out lead vocal in a stereo mp3"
    And the answer is that if you can't isolate the vocal in the stereo field, or it is one of these odd ones where it's used inverted polarity in different parts of the stereo signal for the same vocal, then you won't be able to. But without a sample, it's impossible to tell. If you can post a link to one, that might help. It has to be external to this site though - Adobe in their infinite wisdom don't allow the posting of audio files on their audio U2U forum. Helpful, that, isn't it?

  • Problem with creation of site (SMWP)

    Hi All
    I am currently working on SAP SRM 7.0 , middleware settings for master data replication from SAP ECC to SRM.
    I am facing a strange issue. when I try to create a site for backend ECC system in transaction SMWP. When I click on site attributes for typr R/3 and give the ECC RFC destination , system throws an error "Logical System is not defined in target system".
    I have checked multiple times in ECC and SRM ALE settings where logical system for SRM and ECC is correctly defined. There seems to be no problems with RFC connections  also in both ECC and SRM as I am able to remote log in.
    Kindly let me know what could be the possible reason for this issue
    Awaiting your reply
    Pawan Keshwani

    Hi Nikhil
    Thanks for your prompt reply. I have already checked this blog although I have doubts with my system Landscape definition.
    While defining system landscape in "SPRO-> SRM Server-> Technical Basic settings->Define System Landscape" there are two attributes System Lanscape Directory Name and system Type. I might have put wrong information here.
    Can you plz let me know what do you put in these fields? Is this information provided by BASIS team during installation?
    Regards
    Pawan

  • Problems with creation of an HEAP Dump

    Dear all,
    I have tried to create a HEAP Dump (CntrBreak) with the Java-based SAPMC Console (Process Table => server<no.> => DumpStack, but I get no dump on operation system (/usr/sap/<SID>/JC01/j2ee/cluster/server0/). I set the parameter -XX:HeapDumpOnOutOfMemoryError -XX:HeapDumpOnCtrlBreak in the VM. Our Java version is 1.4.12, the OS is Sun Solaris.
    Did anyone know why it not functioned in our solution?
    Many thanks in advanced.
    Patrick

    Hi,
    The Java based MC should provide the same functionality as the MMC. I tested today to trigger a heap dump as you have described and I had success.
    As the "Dump Stack" action is a protected one, the user should be asked for user/pass. Is it also for you so?
    And I have found several notes describing problems with the authentication of the sapstartsrv user on different unix platforms. As there is no action at all logged in your case, I guess that this could be the problem.
    Here are the notes I found:
    [Note 927637 - Web service authentication in sapstartsrv as of Release 7.00|https://service.sap.com/sap/support/notes/927637]
    [Note 992907 - sapstartsrv user authentication on Solaris|https://service.sap.com/sap/support/notes/992907]
    I hope this helps.
    Have you tried already to perform the action from an MMC?
    Regards,
    Krum

  • Problem with creation of table

    i have created  one custom table with three fields. ( mandt(k),amount(K),desc)).
    while creating the table for the first time i attached INT4 domain for the amount field.
    since it want to compare with this value amount field in in the table (BSEG-WRBTR) it is no giving an error of inconsistent.
    i have given delivery class : C and application as APPL1 .buffering not allowed.
    Now if try to change the domain with CURR of length (13) is giving follwoing error log.
    1 enhancement category is missing for the table (warning).
    2. enhancement category for the subtype or include is missing.
    3.table-amount field ( specify the reference table and field.
    4.key field amount has type CURR buffering not possible.
    5.activation of table is not possible.
    Please help me in solving the problem.
    regards
    GB

    Hi
    First keep some CHAR field as KEY field in the table
    You are keeping CURR field as Key field
    and for Qty and amount fields always reference key field has to be mentioned
    like VBAK-NETWR  REF FIELD is VBAK-WAERK
    for EKPO-MENGE  ref field is EKPO-MEINS
    3.table-amount field ( specify the reference table and field.
    so give some vbak-waerk
    4.key field amount has type CURR buffering not possible.
    remove this field as key field and keep some CHAR field as Key field
    5.activation of table is not possible.
    Once you correct all of them it is activated.
    1 enhancement category is missing for the table (warning).
    2. enhancement category for the subtype or include is missing.
    You can ignore them
    or see the doc
    Enhancement Category Selection
    Structures and tables that were defined by SAP in the ABAP Dictionary can be enhanced subsequently by customers using Customizing includes or append structures. The enhancements do not only refer to structures/ tables themselves, but also to dependent structures that adopt the enhancement as an include or referenced structure. Append structures that only take effect at the end of the original structure can also cause shifts - in the case of dependent structures - even within these structures.
    You must select an enhancement category for the following reason: In programs where there is no active Unicode check, enhancements to tables and structures can cause syntax and runtime errors during type checks and particularly in combination with deep structures.
    In programs where there is an active Unicode check, statements, operand checks, and accesses with an offset and length are problematic - for example, if numeric or deep components are inserted into a purely character-type structure and the structure thus loses its character- type nature.
    Depending on the structure definition, the radio buttons allowed in the dialog box are ready for input. Choose one of the possible enhancement categories:
    Cannot be enhanced
    The structure must not be enhanced.
    Can be enhanced or character type
    All structure components and their enhancements must be character-type (C, N, D, or T). The original structure and all enhancements through Customizing includes or through append structures are subject to this limitation.
    Can be enhanced or character-type or numeric
    The structure and its enhancement must not contain any deep data types (tables, references, strings).
    Can be enhanced in any way
    The structure and its enhancement may contain components whose data type can be of any type.
    Not classified
    This category can be chosen, for example, for a transition status; however, it must not be chosen for creating structures.
    The rules for defining the enhancement category result implicitly from the structure setup and the classification of the types used. These rules are as follows:
    If the object contains at least one numeric type or a substructure or component (field has a structure/table/view as its type) that can be enhanced numerically, the object can no longer be enhanced character-type, but is itself, at most, enhanceable character-type or numeric.
    If the object contains a deep component (string, reference, or table type), or it contains a substructure or component that is marked as enhanceable in any way, then the object itself is enhanceable in any way.
    If the object does not contain any substructure or component that is marked as enhanceable, you can select cannot be enhanced. If the structure has not yet been enhanced, you can choose the categorycannot be enhanced in any case.
    If you are creating new tables and structures in the ABAP Dictionary, the system proposes the category can be enhanced in any way as standard value for the classification of the enhancement options. If the developer chooses a more restrictive classification than can be enhanced in any way for a particular structure, then only the classification levels that adhere to the rules above are allowed. It is not possible to choose an enhancement option of a structure that is more restrictive than the classification resulting immplicitly from the structure setup and from the classification of the types used. Therefore, only the allowed categories are proposed for selection in the maintenance user interface.
    If a structure depends on one or several other structures, the smallest category is chosen as implicit classification (in the order cannot be enhanced < can be enhanced and character-type < can be enhanced and character-type or numeric < can be enhanced in any way). This classification is greater than or less than the category in the other structures and also greater than or the same as the category that results from the actual setup in the original structure itself.
    For more information, refer to the online documentation (pushbutton "i").
    Reward points for useful Answers
    Regards
    Anji

  • Problems with creation of views and indexes....but the connection is nice!!

    Hi everyone.
    I'm running a SQLServer7 migration using migration workbench. The only objects to migrate are: tables, users: views: indexes and foreign keys.
    It seesm to go fine with the migration, thus workbench is both connected to the SQLServer and the Oracle Workbench Repository in wich the Oracle Model is created. BUT, after a while and when the view creatiion should go on, I get this message (myhost is the host in wich target oracle instance would be the conversion).
    " Failed to connect to /@myhost:1525:MANU. Check the password in the users"s Creation Options in the Oracle Model to make sure it is correct."
    So it seems that It tries to connect as OS user...but it was working fine, so why is it trying to re-connect if data was migrating?
    any solution?
    thanks a lot!!

    See my previous reply on another thread.
    Donal

  • Problem with jax-ws and optional attributes

    Hello,
    I'm developing some web services, starting by defining the object model in schemas, then doing WSDL first to define the services.
    I've come across a problem that appears to be caused by jax-ws not properly handling optional attributes. I've tried this with both 2.0 and 2.1ea3 and both fail the same way.
    I created a simplified test case to repeatably demonstrate the problem.
    The type definition for the object looks like this :
    <xsd:complexType name="TestObject" >
    <xsd:attribute name="name" type="xsd:string" use="required"/>
    <xsd:attribute name="subId" type="xsd:integer" use="optional" />
    </xsd:complexType>
    And in the wsdl:
    <wsdl:message name="testRequest">
    <wsdl:part name="testrequest" type="mf:TestObject"/>
    </wsdl:message>
    <wsdl:operation name="testAction">
    <wsdl:input name="testRequest" message="mf:testRequest"/>
    <wsdl:output name="successResponse" message="mf:successResponse"/>
    </wsdl:operation>
    and the test code:
    public void testOptionalAttrs()
    TestObject testObj = new TestObject();
    testObj.setName("testName");
    //testObj.setSubId(2);
    MDSProvisioningResourcePortType resourceManager = factory.getGatewayResourceManager();
    boolean success = resourceManager.testAction(testObj);
    Running the test code with the 'setSubId' uncommented works.
    With the 'setSubId' call commented out out results in this error:
    javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException]
         at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:301)
         at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:124)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:91)
         at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:225)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:121)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:69)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:541)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:497)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:392)
         at com.sun.xml.ws.client.Stub.process(Stub.java:213)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:238)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:212)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
         at $Proxy58.testAction(Unknown Source)
         at com.qualcomm.mf.prov.ProvisioningGatewayClientFactoryTest.testOptionalAttrs(ProvisioningGatewayClientFactoryTest.java:118)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException]
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:255)
         at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:64)
         at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:105)
         at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:292)
         ... 35 more
    Caused by: com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException
         at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:224)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:239)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeAttributes(ClassBeanInfoImpl.java:302)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:661)
         at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:111)
         at com.sun.xml.bind.v2.runtime.CompositeStructureBeanInfo.serializeBody(CompositeStructureBeanInfo.java:71)
         at com.sun.xml.bind.v2.runtime.CompositeStructureBeanInfo.serializeBody(CompositeStructureBeanInfo.java:19)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:663)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:250)
         ... 38 more
    Caused by: com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException
         at com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.get(AdaptedAccessor.java:33)
         at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.print(TransducedAccessor.java:199)
         at com.sun.xml.bind.v2.runtime.property.AttributeProperty.serializeAttributes(AttributeProperty.java:61)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeAttributes(ClassBeanInfoImpl.java:295)
         ... 44 more
    Caused by: java.lang.NullPointerException
         at org.w3._2001.xmlschema.Adapter3.marshal(Adapter3.java:23)
         at org.w3._2001.xmlschema.Adapter3.marshal(Adapter3.java:1)
         at com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.get(AdaptedAccessor.java:31)
         ... 47 more
    So am I missing something or is jax-ws not handling optional attributes correctly?
    Thanks,
    Hank

    Hi,
    This is not a direct answer to your question. But if you want to build restful web services with Weblogic 10.3, why not use Jersey . It is the implementation of the new JAX-RS spec. In my experience, although Jersey is part of the Java EE 6 spec, it appears to work ok with Java EE 5 container like Weblogic 10.3.1. The [JAX-RS section of Java EE tutorial|http://java.sun.com/javaee/6/docs/tutorial/doc/giepu.html] is another good source of example code.
    Edited by: vamsee2 on Sep 25, 2009 12:38 PM

  • Problem with SCORM 1.2 option

    I am using Captivate 8, I bought a licence. When I save my file, to be exported to my LMS, using the SCORM 1.2 options, the file, named imsmanifest.xml, contains an error in the code. So the LMS is not able o read it correctly. I requested the solution to my LMS, that is LITMOS, nd they said to me that the problem is on Captivate and that they have other clients with the same problem. Please can you help me to solve this issue?
    Best Regards. Gaetano

    Manifest files are pretty straightforward, in general (except when you get into deep sequencing rules).  Any clue as to what it is saying the error involves?
    Could be something simple.
    I had an issue with sumtotal a few years back, with scorm 2004 manifests.
    There is an item in the manifest where you declare which scorm spec is being followed, and for that particular version of sumtotal, it expected the manifest to say "scorm 1.3" instead of "scorm 2004".
    Mind you, they both refer to the same set of standards but that simple change (which I made using notepad) solved my dilemma.
    But I agree with Rod, and scorm cloud is my benchmark for testing always.
    Hope that helps and if you want a second set of eyes on the manifest file, I'd be happy to take a look.

  • Problem with model trying several options (import,compare)

    Hi all,
    I have a problem in one of my models,
    When I try to import fromdata dictionary or when I try to compare/merge with other models (i had no test other options)
    I 'm gettint diferent errors :
    Import from data dictionary;
    2012-08-06 14:26:44,638 [main] INFO DataModelerAddin - Oracle SQL Developer Data Modeler 3.1.1.703
    2012-08-06 14:27:32,183 [Thread-31] ERROR ModelChooserDialog - Error in Compare status
    java.lang.NullPointerException
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addDeletedFKAssociation(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addTableDetails(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addTable(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addFromSourceModel(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.<init>(Unknown Source)
         at oracle.dbtools.crest.swingui.compare.CompareModelsDialog.<init>(Unknown Source)
         at oracle.dbtools.crest.swingui.compare.CompareModelsDialog.<init>(Unknown Source)
         at oracle.dbtools.crest.swingui.compare.ModelChooserDialog$OKAction$1.run(Unknown Source)
    compare/merge;
    2012-08-06 14:16:51,458 [Thread-50] ERROR DBMExtractionController - Error Generate Design: DB_POST
    java.lang.NullPointerException
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addFK(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addTableDetails(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addTable(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.addFromSourceModel(Unknown Source)
         at oracle.dbtools.crest.model.design.compare.CompareModelToModel.<init>(Unknown Source)
         at oracle.dbtools.crest.swingui.compare.CompareModelsDialog.<init>(Unknown Source)
         at oracle.dbtools.crest.swingui.compare.CompareModelsDialog.<init>(Unknown Source)
         at oracle.dbtools.crest.imports.metadata.DBMExtractionController$Runner.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)
    I can do the same operations with other models in the same application, for this reason I guess the problem is in the model and not in the tool,
    please, could anyone help me?
    Version: 3.1.1.703
    Thanks in advance and Regards

    Hi Philip,
    I finally could solve the problem,
    one FK in the model was in strange status, I could not drop the foreign key, the DELETE function on the menu was not working for this object,
    I have dropped from the folder the xml of this object and I have deleted from objects.local in the "rel" directory the reference to this object.
    after that I'm able again to use the model,
    for more information I have to add that the FK was duplicated, I mean, two FK with the same name and one of them I could view the properties and I could drop it from the model but the other one I couldn't until I drop the xml,
    Thanks anyway for your help and I guess this problem comes from a SVN conflict or something related to control version,

  • Problem with mencoder's oac option

    I am having difficulty using mencoder to record output from a tv capture card.  Specifically it gives me an error that I have not specified a -oac option for the audio codec, however I have (and yes I have checked that the codec is enabled).  It also gives me the same error if I choose the -nosound option.  I am hoping that another Arch user out there can help me out with this.  Here is sample of the problem.
    [alex@espc3 ~]$ /usr/bin/mencoder tv:// -tv driver=v4l2 width=360 height=288 outfmt=yuy2 input=0 device=/dev/v4l/video0 norm=NTSC chanlist=us-cable channel=3 adevice=/dev/dsp -oac mp3lame -lameopts cbr:br=256:mode=0 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600 -ffourcc divx -o test.avi
    MEncoder 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
    CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
    Detected cache-line size is 64 bytes
    CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    File not found: 'frameno.avi'
    Failed to open frameno.avi
    success: format: 9  data: 0x0 - 0x0
    TV detected! ;-)
    Selected driver: v4l2
    name: Video 4 Linux 2 input
    author: Martin Olschewski <[email protected]>
    comment: first try, more to come ;-)
    Selected device: BT878 video (Hauppauge (bt878))
    Tuner cap:
    Tuner rxs: LANG1 LANG2
    Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
    supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = NTSC-JP; 7 = PAL-60;
    inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3;
    Current input: 0
    Current format: YUV420
    v4l2: current audio mode is : LANG1
    [V] filefmt:9  fourcc:0x32315659  size:640x480  fps:25.00  ftime:=0.0400
    No audio encoder (-oac) selected. Select one (see -oac help) or use -nosound.
    Exiting...
    Alex

    Problem solved!!
    It turns out that mencoder freaks out at spaces in the -tv options.  Replacing the spaces in the -tv options with :'s solves the problem.
    Alex

Maybe you are looking for