Builder my own RTSP client

Hi, guys
I want to build my own RTSP client,
I know that JMF2.0 can support RTSP URL, but i want to find a source code which implements RTSP client treatment without using JMF's Manager.createPlayer . Because i need some changes in RTSP treatment
I have found the source code to implement the RTSP server in Java using simple socket.

Douglas, any progress?

Similar Messages

  • So I want to create my own IRC client...

    I've wanted to make my own IRC client for a long time now. As soon as I switched from winfailure a few months ago (I think nearly a year now! ), actually.
    As time went by I've slowly, begrudgingly gotten used to irssi, but with gritted teeth all the same. On winfailure, I used HydraIRC, and while this application was quite good, its supposedly open source license wasn't free as in free speech, only as in free beer. So while the code was open, it was only opened such that the code couldn't be used in other projects. Stab.
    Anyway, I used this client for the better part of a year, and while it lacked quite a few things that would have probably turned others away like the complete lack of a scripting engine, it did what I wanted pretty well, and set an operational standard, if you will, that I got used to and have not found anywhere else. Yet.
    So I want to recreate the standard I picked up on but for POSIX platforms (except for cygwin), and introduce some features of my own too. I simply don't know where to start, however.
    Note that the subject says "create", not "write" - after asking around a bit in IRC ##linux recommended I try taking two IRC clients that have the features I want and merging their codebases. I've never done something like this before but I think it'd probably be fairly interesting, if not trying.
    So, I'll list the features I'm looking for, and perhaps you can give me some suggestions on 1) how I'd either implement this myself or 2) a client with X feature already coded in. Thanks.
    The features I'm looking for:
    - Code Simplicity: This is the most important, to me, in the case of using others' code. Complex code (just look at rxvt if you want complex code) will just confuse and down-hearten me and make me run away.
    - A network-oriented model: I want a client with a daemon, or server, that connects to my networks and performs most "heavyweight" takes, and a client, which just handles display. Quassel does this to an extent but is horribly underdeveloped and I don't have a system powerful enough to handle running Qt on a long-term basis (since I already tend to use GTK apps). I also don't know C++.
    - Multiple clients: This is the second most important. I really need this one. I want to be able to have a "main" client that can connect to the server and manage general tasks, and a "light" text-based, console-driven client that connects and can be run over ssh, for example. Quassel completely falls apart here because it uses KDE's network-IPC libraries to transfer data from the server to the client, which a quick check with Wireshark showed to be binary. And I wouldn't want my "lite" client to require KDE, or at least KDE's libraries - that'd just be majorly weird.
    - Speed: I want the client to be fast and responsive at all times, even on slower systems, and even when I'm connected to a lot of channels.
    - Scriptability: It doesn't need to be complex, like Perl's library that applications can bind in. That's overmuch IMHO and, most importantly, slow.
    I don't think one particular client meets those needs, but a few of you will probably shout "xchat!" Well, X-Chat is... not my thing. If irssi could be considered very far away from HydraIRC in terms of operation, X-Chat is the same distance away twice over. It doesn't operate the same way at all.
    So, now that I've loosely explained the features I want, let me now explain another thing I want to be able to do.
    Despite having hardware in dire need of upgrading right now (these systems aren't nearly that bad, but Firefox tends to eat my 512MB of RAM up pretty quickly, and I recently found all the PCs this house has in it 99% likely can't use DDR2 RAM, which isn't too good), I hope and believe that one day I'll upgrade to considerably better equipment with extensive graphics support. With this newer hardware I hope to create a new kind of UI model with animation integrated into the look-and-feel model of the UI the same way images are used for the same purpose today, GPLv3 license it so corporations can't steal it and use it in their products, and then bind it into my IRC client.
    However, I want to start now, before I upgrade. With this in mind, I don't know whether I should make my own GUI toolkit, or use an existing toolkit now and rewrite half the codebase later to support my own graphics and animations. I'm not very good at making things that are programmatically extensible and flexible, so I don't really know what to do here. Simple hand-rolled toolkits such as dialogs with some text and a button can be managed in under ~250 lines of code, but anything bigger, and, well... you get stuff like GTK and KDE, whose toolkit libraries in total are both on the order of over a couple of MBs each, and have been in development for years, and continue to evolve rapidly today. If you're careful, you end up with FLTK, which I don't like the look of at all.
    In addition to that, I want my client to be fast, even on slower computers. Right now, I have a 3-screen setup, with each screen being driven by a separate PC. The one on the right - the one I'd be putting my IRC client on - is a 450MHz P3 with 320MB of RAM. It runs X on a 4MB VGA card at 800x600. This is where I currently run an irssi session over ssh and screen. To give you an idea of the graphical power of this machine, antialiased Xft fonts with urxvt take 0.15 seconds to "scroll" when I say something in IRC. However, it's a capable PC if I harness its capability right, and is where I'd target my IRC client. And I dislike seeing my fonts redraw - I dislike seeing anything redraw, for that matter.
    You might think I'm crazy, writing an IRC client for one of the slowest PCs in the house that works, that I in future want to extend to use a graphics layer that I hope to develop on a server-class Nehalem workstation with an insane amount of RAM and a pair of SLI'd GTX 280s in it.
    I don't think I'm crazy. I'm using what I have to give back to the open source community, and using what I consider to be an cunning operational model to do it: back when the 450MHz P3 I spoke of was the only "main" working PC I had, I designed, in none other than Visual Basic 1.0, a media center UI. On Windows 98. In 2006. And, you know what, despite the fact that the animations it used were pretty basic, it actually looked really, really good. And why was this? Because I used software designed for 486DX2s running at 33MHz with 4 or 6MB of RAM, on a P3, with 128MB of RAM (yes, I've upgraded it since), clocked at 450MHz. The result? Blinding, optimized, speed. You really should try the older versions of VB sometime - I managed to score a copy of VB 2.0 which is legal to distribute because its "Make EXE" (ie compile) function is crippled. Email me and I'll mail you a copy - it's completely legal.
    In the same manner, if I design this IRC client and carefully construct it so its client/server model works capably on my two PCs, my server (a machine not unlike the P3 I've been discussing - my server just has more hard disks in it, a 50MHz faster processor, runs my left-hand display and my IRC network) and my old desktop (the 450MHz box I've mentioned so much), when I finally bring it over to my new computer it'll be so fast that it'll be as if the computer is registering keypresses before I even type them. And that's the kind of performance I want to couple with shinyyy graphics.
    Sorry this sounded halfway between a motivational speech, a request for help, and a coder's dilemma. lol
    -dav7

    Bit of an update: Varreon emailed me regarding VB 2.0 and we had a bit of a discussion regarding the language I planned to use.
    He said it would be fine to post our conversation, so here's how it panned out:
    Varreon wrote:...What language were you planning on writing your client in? I've written an irc bot in c++, and I'll upload my source code if you're interested in looking through it.
    dav7 wrote:
    Well, I'm not all that sure what language I want to use just yet.
    I know I want it to be extensible, so I could either use a high-level, extensible but slow scripting language to power the client as a whole, or I could go down a path already travelled, proved extremely successful and in my opinion cleaner, and embed a scripting language, which would negate the requirement for a high-level language but still facilitate customization.
    All the same, I'm not really all that sure what language to use.
    C++ isn't really my thing - on my current computers, g++ takes maybe 3 seconds to compile the smallest of source files, and while that isn't *really * all that long, I'm not all that patient. As it stands I consider /gcc/ too slow for my preferences and use tcc instead - you might like to try it if you're on a 32-bit system.
    I'll probably move to C++ when I get a new PC, but for now, all I really find fast enough for my liking is C, and I'm a little concerned that C might be a little too low-level for what I want to design here - beyond scriptability, I want the client itself to be easily extended in various directions. Of course the client will only appeal to a specific market (in an open source sense), but I do want it to feel organic and something that can be extended in as many directions as possible. So C probably won't be the language I use, and since C++ is slow to compile, it's probably going to be off the list as well.
    All the same, I'm not concerned about speed in the irrational way I have been in the past, but at the same time I do need to be careful in my thinking regardless of the language I use since don't want a client that lags to death. A good example of a slow program is SciTE - the text editor I'm typing this in, Geany, uses the same edit control it uses (Scintilla, which is written in C++, AFAIK), and while this component has a good degree of editorial control, scrolling with the scroll wheel can be slow. Also, when I recently tried to run SciTE on an old laptop I found on the side of the road (AMD K-6, 350MHz, 32MB RAM), I discovered that just *typing* would lag the system horribly - typing about 15 keystrokes quickly resulted in a lag of about 6 seconds after which what I typed would appear all at once. Typing single keys - slowly - resulted in a delay of around 0.20-0.39ms (guessed).
    Regarding scripting, I had my eyes on one embeddable language in particular but I forgot what it was called, so I headed to Wikipedia for a quick hunt-down session for it and managed to discover Falcon, which appears to use a VM but is at the same time the same insanely fast because it uses a C/C++-only policy for its modules. It also advertises itself as a scripting engine "ready to empower mission-critical multithreaded applications" so I'm considering Falcon to be a possible engine to integrate, and on a slightly long shot, even the language I might end up using. I also think hunting the first language I considered down and embedding that might be a nice idea, and I also might embed Perl. I'd love to be able to embed Ruby.
    Overall however, I do need to contain my enthusiasm - the desire to throw in multiple scripting engines, awe-inspiring compositing graphics layers, and support for multiple protocols isn't such a bad idea, but if not controlled will result in serious featuritis, which when combined with a verbose, low-level language will only result in me throwing myself at the project too hard "to get it done", with proven disastrous results.
    -dav7
    [ Note, there's an update in a follow-up post below this one that affects the information you see here - just so you know ]
    I've done some consideration since that email and it's possible that C++ might be able to be brought onto the table. This was mostly inspired by the good outcome I had with writing a couple of modules for InspIRCd, which uses C++, compared to my previous attempt when I knew no C.
    The main thing I'm a little indecisive about at the moment is the toolkit; I want something that's fast but doesn't look all that bad; FLTK is, as I've said previously, not something I like the look of - it does appear to be somewhat themable but it's impossible to escape the fact that it values speed over shininess, and while this is excellent for my current target, I don't want to develop something that relies on it so heavily that it's next to impossible to port to whatever I end up using when it's time to get the graphics in, such as a UI model on top of an OpenGL canvas.
    The second thing I'm unsure of is what scripting language I should use. I've done quite a bit of looking around - mostly to try and find that language I mentioned that I lost - and found quite a lot of possibilities, and even discovered that with some work (well, a lot of work, admittedly) it's even possible to embed Ruby into C++, and have Ruby call user-defined C++ functions and so on. It's not an official part of the project, but someone managed it nonetheless.
    It seems to be possible to embed popular languages such as Perl, Python, Tcl, Lua, etc, but then there are lesser-known languages designed for embedding, such as Nesla, AngelScript and the like (such as that language I can't find, heh). And of course I could also embed a JavaScript engine, which would probably be very odd but all the same quite an experience.
    Then there's Falcon, which appears to be a pretty good language in general but doesn't appear to have all that many modules available for it just yet, so doesn't seem to suit my purposes.
    So, summing up:
    - I don't know how I should develop this in terms of graphics - should I wait for a new PC and just use SDL or whatever I'm going to use, use a toolkit and either rewrite half of everything at some other point or juggle two display methods, or what?
    - The number of scripting languages out there is mind-boggling. To me, it's not what syntax the language uses, or whether it's statically or dynamically typed, or how readable it is, it's #1 how fast it is, and #2 how suitable it would be in the context of an IRC client - string manipulation (even on every incoming and/or outgoing message), user interface control, and so on.
    -dav7
    Last edited by dav7 (2009-02-16 09:25:49)

  • How to build my own SOAP envelope

    Hi
    after a lot of work I have now realised that my SOAP to SOAP scenario can't use SAP XI std SOAP ENVELOPE on the receiver part.
    How to I build my own SOAP ENV in my RECEIVER payload? iMaybe in the mapping or in the WSDL/XSD?
    Any guides or experienses are welcome
    hope someone can help
    cheers

    Hi Bowie,
    Here is one possible approach...
    1) Set "Do Not Use SOAP Envelope" in your Receiver SOAP Adapter.
    2) Add this xsl as a second step in your interface mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
          <env:Body>
            <xsl:copy>
              <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
          </env:Body>
        </env:Envelope>
      </xsl:template>
      <xsl:template match="@*|node()">
        <xsl:copy>
          <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    You can then modify the soap envelope nodes above to create what you need.
    -Russ

  • Building a custom worklist client in 11g R1 fails to authenticate [Solved]

    Release: 11gR1
    Hi,
    We're trying to build a custom worklist client using the APIs exposed by the workflow service described here:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    I created an ADF/webcenter application.
    Created a page and added ADF security to the page which in turn authenticates via OID - this works.
    However when I try to use the workflow API to retrieve the workflow context I receive this exception:
    ========= get tasks =========
    admin user : weblogic
    admin pw : weblogic1
    realm : myrealm
    user : harry
    exception : ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    message : Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
    at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
    at $Proxy138.authenticate(Unknown Source)
    at view.services.worklistService.getTasks(worklistService.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:145)
    at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:108)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:392)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1523)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:925)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:831)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:166)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.tip.pc.infra.exception.PCRuntimeException
    at oracle.tip.pc.services.common.ServiceFactory.getAuthenticationServiceInstance(ServiceFactory.java:166)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.getAuthenticationService(VerificationService.java:3688)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:620)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy154.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:394)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy162.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.authenticate(TaskQueryServiceBean.java:80)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.authenticate(TaskQueryService_oz1ipg_EOImpl.java:733)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    ... 2 more
    The Code Fragment that causes the exception:
    public class worklistService {
    String adminUser = "weblogic";
    String adminPassword = "weblogic1";
    String realm = "myrealm";
    public List getTasks() throws WorkflowException, StaleObjectException {
    System.out.println("========= get tasks =========");
    List tasks = null;
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm); *<-- EXCEPTION HERE*
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    My wf_client_config.xml file:
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true">
              <localClient>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </localClient>
              <remoteClient>
                   <serverURL>t3://localhost:8001</serverURL>
                   *<userName>weblogic</userName>*
                   *<password>weblogic1</password>*
                   <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </remoteClient>
              <soapClient>
                   <rootEndPointURL>http://localhost:8001</rootEndPointURL>
                   <identityPropagation mode="dynamic" type="saml">
                        <policy-references>
                             <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                        </policy-references>
                   </identityPropagation>
              </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    Further Notes:
    The out-of-the-box worklistapp included with BPEL authenticates correctly through the same OID instance.
    The above was when I used REMOTE_CLIENT, I get a similar error when I use SOAP_CLIENT.
    Any help is greatly appreciated.
    Thanks
    Bud
    Edited by: user1330597 on Jul 15, 2009 8:54 AM

    Hi Guys,
    Thank you for taking the time to answer my questions, from your replies I gathered that I was barking up the wrong tree.
    I'll comment on my solution below for the curious.
    thx
    Bud
    I left my wf_client_config.xml file as is. (shown in the original comment above - I have this file in the ViewController project's src directory - not the global src directory)
    I reverted my workflow-identity-config.xml file to its original state (ie removed the multiple configurations and defaulted to the jazn.com realm):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig" >
    <configurations>
    <configuration realmName="jazn.com">
    <provider providerType="JPS" name="JpsProvider" service="Identity">
    <property name="jpsContextName" value="default" />
    </provider>
    </configuration>
    </configurations>
    <property name="caseSensitive" value="false"/>
    </ISConfiguration>
    It seemed to me that the worklist client service (API) always uses jazn.com as the realm, even though I added users to myrealm (weblogic's default realm) via oid.
    When I browse for users in a HumanTask.task file in JDeveloper for instance the users I had added to myrealm show up in the jazn.com realm - which is okay since they're all in there.
    Since this is a client and we don't really know the password of a user logging in I used the authenticateOnBehalfOf() method to get the IWorkflowContext of the user after getting the IWorkflowContext of an Administrator.
    In order to get an administrator IWorkflowContext you need to authenticate against a user who is in the 'Administrators' group.
    The code I used is below:
    public class worklistService {
    String adminUser = "harry";
    String adminPassword = "welcome1";
    String realm = "jazn.com";
    public List getTasks() throws WorkflowException, StaleObjectException {
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext directUserContext = iTaskQueryService.authenticate("ben", adminPassword.toCharArray(), realm);
    System.out.println("------ directUserContext : " + directUserContext);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm);
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    Hope this helps someone else ...

  • How to build your own install img?

    How do I build my own arch install image...iirc there are tools but I don't know how to use them.
    Also is it possible to use the usb .img installer off of one's harddrive?  I know I can use dd to put it on a partition, but was wondering if it would be able to boot and install properly.

    This is from an email by Dieter to the arch-releng list:
    git clone http://projects.archlinux.org/git/archiso.git
    cd archiso/archiso
    sudo make install #to be packaged later
    cd ../configs/install-iso
    # change version in Makefile
    # if on x86_64, remove intel-536ep and intel-537 from packages.list
    ./buildall.sh
    scp release/* ...somewhere...

  • How I build my own libraries of classes/methods in java ?

    How I build my own libraries of classes/methods in java ? how then I refer a functionX() (i mean method) in LibraryX ? can you give a short/brief example of a library with a class with a method and a main method of normal class calling this method (of external's added library's) ?

    Just another cross poster.
    [http://www.java-forums.org/new-java/12389-how-i-build-my-own-libraries-classes-methods-java.html]
    db
    edit And [http://forums.java.net/jive/thread.jspa?messageID=305387]
    Edited by: Darryl.Burke

  • How to build my own policy?

    i need build my own policy to interact with database.
    just tell me where can i get a better reference of this.
    thanks a lot

    http://www-106.ibm.com/developerworks/library/j-jaas/?n-j-442
    This example from IBM is very good however it does more than you may need. Concentrate on the XMLPolicy.java code and corresponding .xml files.
    hope this helps!

  • How to build my own LEXER

    Hi :
    I want to build a Text Query Application which bases on Oracle interMedia Text. Besides some default languages the interMedia supports (English, French ...), I need index on my own language document. When I refered to the Oracle Text Reference, I saw that I can use the BASIC_LEXER for English and all other supported whitespace delimited languages. My language is Vietnamese which has whitespace delimiter. The question is that can I build my own language dictionary-lexer (similar to some default dictionaries : English, France, German, Chinese ...) to index my document and how can I do that ? In the documents I refered (Oracle Text Application Developer's Guide and Oracle Text Reference) I could'n find direction for doing this.
    Thanks.

    Hi,
    In 9.2 there is a new feature: USER_LEXER. The USER_LEXER lets you write and plug in your own lexer to handle
    languages or other indexing techniques that Oracle Text does not support. We will be publishing the 9.2 Text technical
    overview in a few days that shows you how to do it.

  • Can I use a PCI-1424 with a non-standard camera and build my own camera file?

    I want to test a certain CCD which in non-standard and I want to setup the direct interface with it. My idea is to use a 1424 board and build the camera file.

    Technically, you can build your own cable and ICD (configuration) file for your camera. It can be very difficult, though. If the CCD is fairly standard, NI might be willing to create a basic ICD file for you which you can modify to do what you want. The best way to figure out what can be done in an ICD file is to look at ICD files for other cameras.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • QT RTSP client doesn't display when direct3d acceleration is enabled

    Hi ,
    I am using Quicktime7.6.5 on WinXP (Core 2 Duo 2.33Ghz and 1GB RAM)as an RTSP client to playback HD streams sent over IP networks by a streaming server.
    If direct3d checkbox(edit->preferences->quicktime->advanced) is enabled(by default it is enabled),actual video streamed is not being displayed,but large quicktime icon is displayed .
    If direct3d acceleration is disabled actual video is played out, but with lot of jerks because of performance issues as acceleration is disabled.
    Instead of RTSP,if the SDP file is directly opened in quicktime to playback same video stream with direct3d enabled, QT plays out without any issues.
    Any ideas on enabling smooth playback of HD streams in quicktime(as RTSP client) ?
    Thanks and regards
    Anil

    Flash often crashes here too, since I’ve installed a GeForce card with the nvidia blob. I think it’s pretty common.
    For youtube and some other video sites you can use the GreaseMonkey script ViewTube in order not to use Flash.

  • How could I build my own TOOL in Photoshop CS2

    How could I build my own TOOL in Photoshop CS2? Like building a new Brush tool which could draw very fancy lines in Photoshop opened images.

    You can't create a tool in Photoshop, but you can in your own filter plugin (similar to extract or liquify).

  • Modify\Remove UDI 'build your own page' text

    Hi , 
    I am using UDI wizard to create custom 'Build your own page' type template. Could anyone pls. suggest how to modify\remove 'my First custom page'? from this wizard page? 
    any pointers will be appreciated. Thanks. 

    Hi,
    It is not displayed when your run the UDI or when you run the Preview either actually.. The name used will be the two you supplied when creating the page here:
    So the My First Custom page is just displayed when you edit it.
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Build my own Connection Pool

    Hi,
    I have to build my own connection pool.
    Any resources and help will be appreciated.
    cheers,
    vjoy

    Hi,
    I have to build my own connection pool.Why?
    Any resources and help will be appreciated.There are some open-source connection poolers, most notably DBCP; you can see how they did it.

  • PHP-building my own shopping cart

    Hi all
    Has anyone tried to build their own shopping cart?
    Besides a secure space on a server, does anyone know a little
    bit about what building a shopping
    cart entails?
    I am using PHP and I would look into integrating the shopping
    Cart with authorize.net...
    Authorize.net has some documentation for developpers about
    this, so I'll look into it, but I just
    wondered if this was something anybody had done, and if this
    was accessible to someone like me (I
    know my PHP pretty good) if this is way over-the-top
    complicated.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    thanks a lot for this info gareth
    gareth wrote:
    >>> If there's come particular technology beyond
    PHP, or some specific
    >>> protocol, to thansfer the
    > shopping cart info (including CC number) to the
    institution that processes
    > the transaction.
    >
    > Well HTTPS is always used to encrypt the transaction in
    transite. Apart from
    > that it really depends on the financial institution your
    details with. A
    > large proportion of payment providers actually take the
    card details on
    > their site. You pass across the customers details, name,
    address, order
    > number, order value etc to the provider site, and then
    they take the card
    > details on their site, and then pass back a response to
    you with the order
    > number (or some other unique reference), saying if the
    transaction has
    > succeeded or not. This way, you actually have no contact
    with the credit
    > card details. This method is prefered, as it takes a lot
    of responsibility
    > off you, you don't have to try and store the details
    securely or pass the
    > details securely.
    >
    > Various methods are used by the institutions when
    passing the details. Its
    > always by post, by some provide code that you run all
    the fields through
    > that you send to them with a secret key, which creates a
    hash that you send
    > to them as well. At their end, they run the details
    through the hash
    > generator with your key, and if the two hash values
    don't match then they
    > know the data has been tampered with in transit (eg the
    customer saving your
    > checkout page, changing the order amount, and then
    submitting the data from
    > their own server). They then hash the reponse they send
    back to you, and
    > then you hash it and compare the values, so you can be
    sure the info coming
    > from the payment provider hasn't been tampered with.
    Usually the code is
    > available in a variety of languages, and most give PHP,
    although HSBC use C,
    > which you can run through PHP (although I actually
    created an extension to
    > PHP to generate the hash).
    >
    >> You can always just send POST vars, in the format
    they require, to the
    >> transaction processor, right?
    > Or is there something else at play?
    >
    > Yes, its almost always sent to the institution as a
    simple form POST. You
    > just need to pass a unique value, so that they can pass
    it back and you can
    > link the response to the customers order at your end.
    >
    >> And it's just a matter of knowing how this response
    is formatted, to deal
    >> with it, right?
    >
    > Yes, usually they send the data to an address on your
    server you provide, as
    > POST data. So, its simple to read it using PHP.
    >
    >> thanks for this info... All in all I was just
    wondering what's the big
    >> deal about building a
    > shopping cart, compared to, say, builing a CMS.
    >
    > No problem, to be honest with you, and IMHO its really
    not that difficult,
    > less so than building a complete CMS. It used to be,
    years ago, but the
    > financial institutions have made things easier now, and
    provide all the
    > processing for you. The main problem that put people off
    was security, but
    > nowadays merchants don't take credit card details
    themselves, so its not a
    > major issue.
    >
    > It really depends on the payment provider, some are
    easier than others, the
    > banks own systems tend to be more complex than other
    parties such as
    > Worldpay.
    >
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Should I build my own component, or is there a solution to my built-in ScrollPane woes?

    "I am desperate. I am going insane. Please, please help me."
    That is how my last post ended. And no one replied, which I
    suppose means that there is no solution to the problem I have with
    the ScrollPane component in flash 8.
    I just want to put both of the scroll arrows of the
    ScrollPane's scroll bar together on the same end of the scroll
    track, instead of at opposite ends of the track.
    I have customized everything else about the ScrollPane with
    HaloThemes and setStyle, etc, but cannot seem to re-position the
    arrows.
    So, I am wondering if I should just make my own scroll pane.
    I have been cautioned against using too much actionscript in flash,
    though, so I am wary. Anyone know of a reliable method for making a
    scroll pane for images with scroll arrows that can be positioned
    together?
    Or should I stick it out with the built-in ScrollPane?

    No, what you ask is not possible with the standard
    components.
    I don't understand why you would be cautioned against using
    "too much actionscript" in Flash....
    Everything I do is built entirely with AS these days. I even
    draw out all of my elements at runtime, and this makes my
    interfaces faster, both in loading and in processing. So there is
    nothing wrong with using a ton of AS in Flash. However, if you do
    not know AS very well, these things are fairly difficult to do.
    If you do know AS fairly well, then go ahead and make your
    own Scroll Pane. Best-case scenario, you make a component that fits
    your needs, and is much smaller (file-size) than the ScrollPane.
    The built-in components tend to be a bit bloated. Worst-case
    scenario: Over too much time, you make something that is bigger
    than the ScrollPane component, and pretty much does the job you
    want, but is a bit buggy, and you have quite a few headaches on the
    way.
    Personally, I do not understand why Adobe hasn't given us the
    ability to rearrange the arrows on the UIScrollBar, or even simply
    turn the track off completely. These seem like simple things that
    should be easy for Adobe to add. I really need to compile a list of
    things to submit through the wish list page.
    So, you can stick with the ScrollPane, have it easy and done,
    but with a sub-ideal scrollbar. Or you can work at building your
    own ScrollPane component. If you build your own, you may spend a
    bit of time in development, but you will be able to get your
    scroller to display the way you want.

Maybe you are looking for

  • Download and upload program

    Hello to everybody, I'm looking for a standard program that can download and upload program' source codes. I found the program REPTRAN (in SAP release 6.0) that can only download the source code (with the include as well), but i didn't find the uploa

  • HT3702 Issue with updating a valid credit card.

    I am trying to update my payment information, using a valid credit card, and all it tells me is that I need to contact iTunes support with no explanation....what do I do?

  • Clustered role 'Cluster Group' has exceeded its failover threshold.

    Hello. I’m hoping to get some help with a cluster issue I’m having using Windows Storage Server 2012. When the cluster is created my Cluster Core Resources are all happy and online. I can more the Cluster Name using “move Core Cluster Resources” betw

  • KM login prompt when saving

    I have a normal KM Navigation iView watching a KM folder path. This folder has an excel file in it. When the end user clicks the excel file, it prompts to Open, Save or Cancel as normal. Choosing Save works as expected. Choosing Open works as expecte

  • How to e-mail?

    Hey! How can I e-mail to Nokia firmware developers? Pls help me! Thanks Paul!