Logic problem in using card ..

hi !!
i have a movie file stored on a cd, but it is in encrypted format (encrypted with symmetric key key1). key1 is stored on the cd also, but encrypted with public key key2. the corresponding private key key3 is stored on the card. there is a function in the card applet, where, if i pass it data encrypted with key2, it decrypts it and returns the decrypted (plain text) data. there is also a java program on the cd, that does the communication with the card, retrieves key1 in decrypted format (after passing the encrypted data to the card), then decrypts the movie file (decrypts on the fly, as and when the user moves forward, rewinds, seeks, etc in the movie file).
each user has a card containing a different key pair, on his/her own card .. (key1 is the same for a particular video).
the reason that key1 is used to encrypt the video file, and not key2, is that using the card to decrypt the entire video would be very slow ..
now, the problem is, that, a rogue user, he can write his own proggie, that takes the encrypted key1 from the cd, passes it to the card, and retrieves key1 in plaintext, and then uses it to decrypt the movie file, and then makes illegal copies of this movie file... while the main puprose of this entire program was to prevent illegal copies of the video files being made ..
there are ways to copy protect cds, but even then, someone can write their own version of a media player that saves the video data somehwere else as and when it is read from the cd ..
so, does anyone have any idea as to what i can do to make this thing more secure ??
thanks :)
muskad202

hi !!
u are saying to use asymmetric encryption .. that is what i am doing .. key2 is the public key and key3 is the private key ... key2 is used for encryption and key3 for decryption .. the private key, (i.e. key3) is stored on the card, and thus the user requires the card for decryption .. (key1 comes into the picture, coz, if i directly used key2 for encryption, then i would need to use key3 for decrypting the entire move .. but key3 is on the card, and passing the entire movie file to the card and waiting for the card to decrypt it would take a lot of time, so, instead ... the movie is encrypted with a key key1 (which is a symmetric key), and this key1 is encrypted with key2 .. so the user just has to pass encrypted-key1 to the card (which will decrypt the passed data using the private key key3) to get key1 back, and then use it to decrypt the movie file
forget key1 for now ... assume the video is encrypted with key2 (i.e. the user's public key), and thus for decryption, he requires the private key (i.e. key3) .. this is what you are saying.. right ???
but, here's the problem .. suppose the user wants to obtain the video in decrypted format so that anyone can view it without requiring the card .. what he can do is, write his own program that reads bytes from the encrypted movie file (which was encrypted using key2), passes it to the card, and, when the card decrypts the data (using the private key stored on it - key3), and then, stores the decrypted data in another file (in my player, i would display the decrypted data on the screen as a video frame, but this guy is instead saving it using his own program so that he can recreate the original video) ..
muskad202

Similar Messages

  • [T410] discrete gfx - Problem with Video Card and Windows Aero -anyone using 4Gb memory modules?

    [3/3/2010 Update]
    There's a issue of using 4Gb sticks on T410 currently that results in video output artifacts and aero interface problems when using Lenovo supplied drivers v8.16.11.8825. I think I can call it confirmed (Three people including me face this issue).
    Possible workaround is to install modified EliteBook 8440p video driver (read along this thread) comes with a BIG drawback of not being able to change brightness level within Windows 7. To sweeten it a little bit - you can set luminance level at POST screen, when computer boots up.
    [Original Message]
    Encountered strange behavoir of my T410.
    I have a T410 with 256Mb of Video Memory and 1440x900 display, a T61 with 128Mb of Video Memory and 1400x1050 dsplay and external monitor HP w2338h with 1920x1080 resolution.
    If I connect external monitor to my T410 and launch Visual Studio 2010 Beta 2 - image blinks and comes back with Aero disabled. Looking through event logs reveals the lack of memory. Entry information can be found further.
    Now If I do the same with my old Thinkpad T61, connect the same monitor using the same cable - I can open as many Visual Studio 2010 Beta 2 instances I like (tried 5) and nothing blinks and Aero stays enabled.
    Actually I find ridiculous, a notebook with more VRAM cannot archive the same performance as notebooks with less.
    Does anyone know what path should I pursue to solve this issue?
    UPDATE: Simply running multiple instances of Visual Studio 2010 Beta 2 without external monitor causes Aero disabled as well.
    Log Name:      Application
    Source:        Desktop Window Manager
    Date:          2/4/2010 7:32:21 PM
    Event ID:      9020
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:     
    Description:
    The Desktop Window Manager has encountered a fatal error (0x8007000e)
    Error 2/4/2010 7:32:21 PM Desktop Window Manager 9020 None
    Solved!
    Go to Solution.

    mat3y wrote:
    I have the same problem with T410 and aero disabled.  I am not using VS and I get this error anyway.
    The Desktop Window Manager has encountered a fatal error (0x8007000e).
    This must be buggy drivers, on Lenovo download site is just the one and the only initial driver for T410 graphics card.
    What software were you actively using when this error occured?
    Thinkpad T500-2081 CTO | T9400 2.53GHz | 8 GB RAM | ATI HD3650 + Intel GM45 | 15.4" LED WXGA+ | Windows 8 | ATI Catalyst 13.1 (non-switchable)
    Thinkpad 390x | PII 333 | 256mb ram | NeoMagic 256AV | SVGA LCD | OS/2 v4.52

  • Problem in using web logic server

    I have following problems in using the weblogic server 8.1.2
    1. Under which folder jsp & html files should be stored?
    2. When I run the weblogic server using web logic work shop,
    I get the following error message.
         "Low virtual memory".
    My pc is running on Windows 2000 Professional.
    Please give me solution for both of my problems.
    My thanks in advance.

    1) somedirectory/yourwebapp/
    2) get more memory , 1Gig is a good start

  • Logical problem using vectors

    Hi and Happy New Year,
    I have a vector in my java application which contains a number of elements that is not fix which means each time the number of elements might change.
    I want to retrieve the elements of the vector 3 by 3 its like table records paging in jsp , asp or php
    - lets say this time i've got 10 elements in my vector , I have to JButtons previous_3 and next_3
    - The first time the program runs I want to get the first three elements of the vector (0 to 2)
    - By clicking on the next_3 button I want to get the next 3 ( 3 to 5) and so on... providing that the exist
    - By clicking on the privious_3 button I want to get the previous 3 ( 0 to 2) in this instance and so on... providing that the exist
    Can anyone give me a hint as how to solve this problem at least give me some ideas cause i am lacking of ideas my brain is frozen, I know that is it more a logical problem that a programming one
    I 've done this kind of thing in Asp and PHP but as I am new to Java
    I just can not figure out how to tackle this issue

    You may want to use the modulus function.
    lets look at an example.
    pseudo code
    vector v = new vector()
    v.size = 10; //lets say there are 10 elements in the vector
    int n = 3; // you want to jump maximum 3 elements each time
    // you can jump 3.3 times before running outide the scope
    // of the vector, well after the third time you must check
    // how many elements that is left in the vector, this is
    // done by modulus n%10 = 1, this means that the last time
    // you can not jump more than 1 element.
    I have to go now so I cant give you any code to cope with the problem, Ill be back in 3 hours, maybe I can give a good axample, but this outline is the way to go.
    TheLaw

  • LSI Logic Fibre Channel PCI Card

    I have an Xserve PowerPC G5 Dual 2.3GHz (mid 2005).  Have LSI Logic Fibre Channel PCI Card installed (Product: LSI7202XP). 
    My question: Can this Fibre Channel PCI Card be installed in a Apple xServe (Early 2008) - 2.8 GHz Xeon Quad-Core?  Any info will be greatly appreciated.
    -jason

    I think there is. It is hard to believe that ~200MB/s read comnpared to 0,7MB/s write speeds are a feature rather than a bug/problem.
    I haven´t tested the used xserve with another xraid, I used different server for the Xraid benchmarking.
    Message was edited by: Janne Ikola

  • Problem in using SAX parser.

    Hai All,
    I have got a problem in using SAX parser.
    My XML looks like this:
    <authorizer>
    <first-name>HP</first-name>
    <last-name>Services</last-name>
    <phone>800-22-1984</phone>
    </authorizer>
    <destination>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <company>John Doe Enterprises, Inc.</company>
    <department>Manufacturing</department>
    <phone>800-555-1234</phone>
    <address>
    <street-one>1654 Peachtree Str</street-one>
    <street-two>Suite Y</street-two>
    <city>Atlanta</city>
    <province>GA</province>
    <country>US</country>
    <postal-code>30326</postal-code>
    </address>
    </destination>
    my part of SAX parser code is:
    public void startElement (String name, AttributeList attrs)
    throws SAXException
    accumulator.setLength(0);
    public void characters (char buf [], int offset, int len)
    throws SAXException
    accumulator.append(buf, offset, len);
    public void endElement (String name)
    throws SAXException
    if (name.equals("first-name") )
    firstname=accumulator.toString().trim();
    if (name.equals("last-name"))
    lastname=accumulator.toString().trim();
    My problem is that i have to store the values of first-name and last-name.
    but i have that in both
    <authorizer> </authorizer> Tag and
    <destination> </destination>
    I need to retrive authorizer's firstname,lastname and
    destination's firstname and lastname.
    what i mean is i need to store authorizerFirstName,authorizerLastName
    destinationFirstname and destinationLastname.
    Pls let me know how to do that.
    Thanks in advance.
    Pooja.

    hi pooja,
    I think you are using DataHandler for parsing. Its deprecated. try using contentHandler . You can get the value of the element at the beginning. say for example
    <firstname>sdfs</firstname>
    the startElement will be firstname
    the next method that it invokes will be characters method which has the text associated with the element. I am sending a sample code for your problem. try using it .
    boolean m_boolinAuth = false;
    boolean m_boolinDest = false;
    boolean m_bAuthFName = false;
    boolean m_bAuthLName = false;
    public void startElement(String namespaceURI, String elementName, String qName, Attributes atts)
    //does the logic for startElement
    if(qName.equals("Authorization"))
    m_boolinAuth = true;
    m_boolinDest = false;
    else if(qName.equals("Destination"))
    m_boolinDest = true;
    m_boolinAuth = false;
    if(qName.equals("firstname"))
    m_bFirstName = true;
    if(qName.equals("lastname"))
    m_bLastName = true;
    public void characters(char[] ch, int start, int length)
    //does the logic for characters.
    String str = new String(ch,start,length);
    if(m_bFirstName)
    if(m_boolinAuth)
    m_strAuthFirstName =str;
    else if(m_boolinDest)
    m_strDestFirstName = str;
    m_bFirstName = false;
    if(m_bLastName)
    //same as first name case;
    }

  • Problem when using weblogic.jspc from an IDE

    I am trying to call JSPC from an IDE (as part of an Eclipse Builder). To optimize performance I want to avoid to spwan a new process. So I am trying to call weblogic.jspc's main method directly from the IDE. Everything works fine for simple simple pages.
              But when the page refers to a tag library with a tag providing a TagExtraInfo class, weblogic.jspc complains about the class not extending the TagExtraInfo base class although it does:
              Errors encountered while compiling 'D:\vrp-localdeploy\applications\wot\WOT' :
              Translation of /rentalcar/tiles/i18n/CarCapacityView.jsp failed: (line 17): Error in using tag library uri='/tags/i18n' prefix='i18n': For tag 'bundle', extra info class 'org.apache.taglibs.i18n.BundleTEI' does not extend javax.servlet.jsp.tagext.TagExtraInfo
              I could not figure out what exactly causes the problem. Using exactly the same settings workes just fine.
              Any suggestions?

    The full stack trace reads as follows:
              <p>
              Errors encountered while compiling 'D:\vrp-localdeploy\applications\wot\WOT' :
              <p>
              Translation of /common/include/i18n/definitions.inc failed: (line 17): Error in using tag library uri='/tags/i18n' prefix='i18n': For tag 'bundle', extra info class 'org.apache.taglibs.i18n.BundleTEI' does not extend javax.servlet.jsp.tagext.TagExtraInfo
              <br>
                   at weblogic.jspc.runJspc(jspc.java:559)
                   at weblogic.jspc.runBodyInternal(jspc.java:410)
                   at weblogic.jspc.runBody(jspc.java:319)
                   at weblogic.utils.compiler.Tool.run(Tool.java:146)
                   at weblogic.utils.compiler.Tool.run(Tool.java:103)
                   at weblogic.jspc.main(jspc.java:708)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.compileJSP(PresentationBuilder.java:1173)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.checkResource(PresentationBuilder.java:718)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder$PresentationDeltaVisitor.visit(PresentationBuilder.java:102)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
                   at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.incrementalBuild(PresentationBuilder.java:1268)
                   at tui.vrp.tools.presentation.builder.PresentationBuilder.build(PresentationBuilder.java:677)
                   at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
                   at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                   at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
                   at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
                   at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
                   at org.eclipse.core.runtime.Platform.run(Platform.java:783)
                   at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
                   at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
                   at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
                   at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
                   at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
                   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
              <p>
              Unfortunately it doesn't really give any real reason - it is a general piece of code in jspc to report problems.
              <p>
              But I dug a lot bit deeper into the code and realized that the original problem is a ClassCastException in line 1290 of class StandardTagLib, which reads as follows:
              <p>
                   tagextrainfo = (TagExtraInfo)Beans.instantiate(classloader, s3);
              <p>
              This looks quite obvious that the class named by s3 simply is no extension of TagExtraInfo, but unfortunately the only class with that name being referenced by the class path does extend this class. I wondered what the problem might be and came up with the following answer:
              <p>
              The class of the bean instantiated by Beans.instantiate extends a class with the name "javax.servlet.jsp.tagext.TagExtraInfo" which is cast to another class with exactly <b>the same name, but a different class loader</b>. Since neither of the class loaders is parent of the other one, both classes are not considered being the same class although they have the same name. Sounds weird, but exactly this is the problem!
              <p>
              Where does it come from and why it works fine when the tool is executed in a separate thread or on the console?
              <p>
              From my understanding the problem is caused in line 395 of the class weblogic.jspc:
              <p>
                   GenericClassLoader genericclassloader = new GenericClassLoader(classpathclassfinder);
              <p>
              This line of code creates a class loader not knowing a parent class loader by which the class weblogic.jspc was loaded. All classes weblogic.jspc is using or calling will be loader by either the same or a parent class loader - this is important to understand. Since TagExtraInfo is directly referenced by StandardTagLib one instance of the class object (the object of type class) will be generated and linked when the class StandardTagLib is instantiated for the first time by the class loader which loaded weblogic.jspc (or by its parent). This is consequence which can not be avoided.
              <p>
              But now look at line 1290 of class StandardTagLib: It explicitly requests the class to be loaded by the GenericClassLoader instantiated in line 395 of the class weblogic.jspc. This class loader, off course, is not aware of the same class just being loaded by another class loader since it has no knowledge of it. It simply creates a fresh copy of the class object, which only differs in the reference to the class loader which created this class object.
              <p>
              Actually, I figured that the following line of code replacing the upper one, would resolve the problem:
              <p>
              GenericClassLoader genericclassloader = new GenericClassLoader(classpathclassfinder, this.getClass().getClassLoader());
              <p>
              Doing this, the GenericClassLoader would know its logical parent by reference and would implicitly - thanks to the implementation of java.lang.ClassLoader - try to find the class using its parent first, would find a valid class, and hence use the same instance of the class object instantiated by the parent class loader. The problem would be solved.
              <p>
              It works fine in the console or under a running application server, because they will always have the weblogic jar in their system class path. ClassLoaders not having a parent are implied to have the system class loader as their parent - the piece of code does work in this case.
              <p>
              Under Eclipse this is no option, off course. We would restrain us to exactly this version of the APIs used by the weblogic version in the system class path.
              <p>
              I was trying to patch this myself by extending weblogic.jspc by my own class to pass on a proper class loader knowing its parent, and I was sort of successful: The problem disappeared. But I can't gain exactly what I am looking for, because the method runJspc with four parameters (around line 447) of weblogic.jspc is private to the class and its public brother always passes true to this method as the fourth parameter - causing jspc to recompile all JSPs instead of just the requested ones.
              <p>
              Everything refers to WL81SP3.
              <p>
              That's were I got stuck currently. I have read some postings about this problem in the internet - some dating far back into the history. So, I have the impression that there have been some folks around with the same problem. I think the patch I suggested does not any harm and I could simply use jspc in my builder without any problems.
              <p>
              Regards,
              <p>
              Elmar Schwarz

  • Performance problem when using CAPS LOCK piano input

    Dear reader,
    I'm very new to Logic and am running into a performance problem when using the CAPS LOCK-piano-keyboard for input of an instrument: when I'm not recording everything is fine and the program instantly responds on my keystrokes, but as soon as I go into record-mode there is sometimes a delay in the response-time (so I press a key and it takes up to half a second longer before the note is actually played).
    Is there anything to do about this to improve performance (for example turning of certain features of the application), or should I never use the CAPS LOCK keyboard anyway and go straight for an external MIDI-keyboard?
    Thanks and regards,
    Tim Metz

    Does your project have Audio tracks and just how heavy it is, how many tracks? Also, what kind of Software Instrument do you use?

  • Problem with RSC card on sun fire v490

    Hi all,
    I have a little problem.
    I got few v490 that were already used.
    When I connect to the management port of the RSC card I get the prompt of the RSC password, somthing i don't have.
    The OS doesn't get loaded and I can't do anything. ( if I had access to the OS I would have reseted the password)
    So now, I got left with the only option i thought of.
    1. Disconnect the RSC card,
    2. This will force the output of the consol to go to the serial port(tty).
    3. Jumpstart the machine (beacuse I don't even have the password for the machine)
    4. connect the RSC card, and reset the password.
    There is someone here that encountered this problem??
    Maybe there is a jumper that can reset the RSC password. i don't know... every response will be great!
    Thanks!!!

    Hi,How to set my link up in solaris 10 ?
    I dont know want happend to my machine solaris v440 it suddenly disconnected from n/w and finally i came to know that is a problem with NIC card..i din't find any light's glowing back side of the machine at NIC card.
    can any one help me in this pls how can i proceed furture for getting my NIC back?
    and i have excuted few commands
    #ndd -set /dev/ce instance 0
    #ndd -set /dev/ce adv_1000fdx_cap 1
    #ndd -set /dev/ce adv_autoneg_cap 0
    I have got dladm show-dev is
    ce0 link: unknown speed: 1000 Mbps duplex: full
    ce1 link: unknown speed: 0 Mbps duplex: unknown
    I dont understand that why my link is showing still unknown ...any help..

  • Yoga 11s Problem with SD Card reader

    Hi.
    Just bought a Yoga s11 8/256gb with windows 8 64bit.
    When i put in the SDHC card (Is use in camera) in the SD card reader nothing happends..
    Tried to download drivers, but not sure if i got the correct one.

    Hi
    I had a problem with my card reader also.
    When I run the command "groups" noticed my user wasn't in the avahi group.
    Ran :
    sudo gpasswd -a <myuser> avahi
    (substitute "<myuser>" by your user)
    Inserted the card again and.. voila, it worked!
    Greets
    Nuno lopes

  • Has anyone got an answer to fix ios5 problem, no sim card inserted...

    Has anyone got an answer to fix ios5 problem, no sim card inserted...

    I bought a new sim card today at the t-mobile shop and they activated the card just by putting credit on, i got home put the sim in the iphone and still got the same message. I have restored and shut down I dont know how many times and updated itunes, I am wishing i had said no to updating the phone as i have no iphone to use and apple say i should go to an apple shop.

  • Problem on using HD media for SD broadcasting in premiere CC

    Hi
    I've got a problem in using HD media for SD broadcasting. I use to get HD media from all sort & with differnt size. But we are broadcasting in SD, but I don't know how to keep a maximum quality. I've got a blackmagic card. We are brodcasting on SD 720-576 (Widescreen 16-9)
    Could you please tell me on what sort of sequence should I work & what should I do when exporting my files to keep the maximum quality possible?
    Is that better to work on an HD sequence & then to export in SD or is that preferable to make your own sequence (with the broadcast settings) and then resize the clips &...
    Jim

    Perhaps too much Christmas Cheer?
    Not enough more like it.   Making up for it now.
    PAR  = pixwel spect ratio
    - seemed ok to me when I typed it. I knew what I meant despite what I typed.
    An SD Sequence from HD footage for Broadcast  ( such as a TVC) would be difficult in how one would work graphics (design placement and aspect) and also be very dissapointing for the client thru preview and approval process.
    I have just been working on 9 TVCs for a Pacific Island country  who only broadcast widescreen from SD media.
    I can assure you that out puting sd for this purpose is heartbreaking.

  • Logic 8 not using all RAM

    I'm running Logic 8 on a MacPro 8-core with 13 GB of RAM, but Logic always crashes once it's used about 6.5 GB of memory. I'm trying to run a lot of sample libraries and plugins at once (Vienna Instruments, EWQLSO with Kontakt2, Stylus, EXS24 instruments, etc.), but it reaches a limit and crashes, telling me "could not allocate enough memory" and other memory messages like that. How can I get Logic to use the rest of my RAM that's just sitting there?

    Ok here's your first problem... 13 gigs of ram. If you read and pay attention to Apple's info, you'll see that they highly recommend you pair up the RAM chips and use the same ones, otherwise you're using 64bit memory addressing as opposed to 128, which of course means processing things faster. Look at your RAM configuration and look at which ones are not paired up, I'm thinking you have a pair of 512MB DIMMS in there which should be taken out, yes you'll lose a gig, big deal, you'll gain speed.
    Second, Logic can't use more than 4 gigs of RAM. It's not a 64bit application. 64bit as it's compiled, I am not talking about the audio engine. The fact that it reaches 6.5GB is because EXS24 has its way of starting up more processes which can use 4gigs of ram Each. Logic itself is not using the 4 gigs.
    The reason you crash is because one of the plugins you're using is not written properly to let Logic know that it's running out of RAM, and hence Logic tried to take up more and crashes because it can't address more than 4gigs of ram, and when it does... boom. As an example of that, BFD 1.5 used to be like that, until FX rewrote their code to work properly, and now when BFD2 tries to get above what Logic is capable of, it stops loading samples and throws up a little popup telling you you're running out of memory.
    Your problem is not logic, it's one of those plugins which is not written properly.
    R

  • Problem while using struts 1.3.8

    Hi All,
    I have some problem while using struts 1.3.8 in my application.
    I am using OC4J 10.1.2.0.2, my simple coding is follows:
    <%@ page contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
    <html:xhtml />
    <html:form action="<action page>" method="POST" enctype="multipart/form-data" >
    <p>
         <label for="Subject" ><span class="Mandatory">*</span> Subject:</label>
         <html:text size="40" property="subject" />
    </p>
    <p>
         <label for="upload" >Attachment:</label>
         <html:file size="40" property="attachmentFile" />
    </p>
    <p>
             <html:submit />
    </p>after clicking my the submit button in the server console i m getting
    JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    javax.servlet.ServletException: JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.ed.ecomm.edcore.web.filters.SecurityFilter.doFilter(SecurityFilter.java:196)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.MonitoringFilter.doFilter(MonitoringFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    further i investigate and i removed the "enctype=multipart/form-data" from the form attribute its working fine..
    but without using this attribute struts doesn't support the "upload" i.e, form file... its throwing another exeception..
    could you anyone please let me know whether i can change my OC4J server version of anything need to do..
    many thanks in advance

    I'm having the same exact problem. Any ideas?
    Schema sfactory;
    Schema schema;
    sfactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    ErrorHandler eHandler = new MyErrorHandler();
    sfactory.setErrorHandler(eHandler);        
    LSResourceResolver lsrResolver = new MyLSResourceResolver();
    sfactory.setResourceResolver(lsrResolver);
    schema = sfactory.newSchema(new File(argv[1]));The last line gives me NullPointerException. I know the file (argv[1]) exists and can be read because I can print it with a BufferedReader.

  • Problems with Airport Card

    I move back and forth from school to home, and I've never had a problem with my card before. I recently restored my compuer back to its factory settings, and it was running great with my Airport Express. I came home after moving, and my computer won't read the WPA hooked up in my house. It says I am connected, but won't let me access the internet. I'm not sure why. We tried rebooting the connection, I've looked on my computer, used system preferences and everything. I did notice when I tried to use the Network Setup Assistant, it said the password I used to connect was wrong, but when my computer uses the airport icon at the corner of the screen, it accepts the password. Any ideas on how to fix this?
    iBook G4   Mac OS X (10.3.9)  

    An additional distressing note -- I went back to aforementioned building with the 10.4.5 Powerbook last night. Did a cold boot...and the Airport Express picked up the correct network DHCP info immediately. Roamed between a couple of WAPs, surfed a couple of sites, then sat down and tried to duplicate this feat...by re-booting at least 6 more times. Nada. I once again got factory default IP addresses on each attempted reboot. I changed nothing from the network settings I'd tried last week with this machine nor were any changes made to the network or WAPs. DHCP didn't work last week on several attempts (and reboots), worked ONCE yesterday on the first boot, then nothing again on the subsequent reboots.
    Again, I'm stressing that there don't "seem" to be problems with the network or WAPs because Windows clients consistently obtain DHCP and authenticate without issue.
    Does anyone have any ideas?

Maybe you are looking for