Trouble configuring hibernate assembler

good day,
     I'm trying to configure a hibernate assembler using the lcds 4.5 beta, When I start lcds I get the following error message:
Caused by: org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="my.model.db.TestClass"...
the recomendation from googling the error message,  is that I need to set the session factory to use the annotationConfiguration where do I do this within wth lcds context?
I'm using an annotated class created from fml using the server side generator.
here is my hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
        <session-factory>
                <!-- Database connection settings. -->
                <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
                <property name="connection.url">
                        jdbc:oracle:thin:@dbhost:1521:castlewr
</property>
                <property name="connection.username">
                aUser
</property>
                <property name="connection.password">
                ultrasecret
</property>
                <!-- JDBC connection pool (use the built-in). -->
                <property name="connection.pool_size">
                        1
</property>
                <!-- SQL dialect. -->
                <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
                <!-- Enable the Hibernate automatic session context management. -->
                <property name="current_session_context_class">thread</property>
                <!-- Disable the second-level cache. -->
                <property name="cache.provider_class">
                        org.hibernate.cache.NoCacheProvider
</property>
                <property name="show_sql">true</property>
<mapping class="my.model.db.TestClass" />
                <!-- Echo all executed SQL to stdout. -->
        </session-factory>
</hibernate-configuration>

Hi,
How are you declaring your DMS destination? I believe you should be using the HibernateAnnotationsAssembler as your assembler. You might want to refer to the LCDS 3.1 documentation for using it.
Rohit

Similar Messages

  • Problem parsing configuration/hibernate.cfg.xml

    I am trying to integrate struts with hibernate. I have created a plug-in for that and copied all the necessary jars & xmls to the classpath. I am providing the full stack trace, can any one say what could be the problem
    net.sf.hibernate.HibernateException: problem parsing configuration/hibernate.cfg
    .xml
    at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:963
    at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:902)
    at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:888)
    at com.plugin.HibernatePlugIn.initHibernate(HibernatePlugIn.java:72)
    at com.plugin.HibernatePlugIn.init(HibernatePlugIn.java:54)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServle
    t.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:1029)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
    2)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:4013)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    357)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :349)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: org.dom4j.DocumentException: hibernate.sourceforge.net Nested excepti
    on: hibernate.sourceforge.net
    at org.dom4j.io.SAXReader.read(SAXReader.java:358)
    at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:958
    )

    Looks like a problem with Hibernate itself parsing the config file?
    Here's a posting from the Hibernate forum that sounds similar:
    http://forums.hibernate.org/viewtopic.php?p=2256871&highlight=&sid=e1090f717891db4535310102c61bec25
    -steve-

  • How to  configur hibernate in NetWeaver and how to use   in NETWEAVER

    Hi,
    Now i am useing Ejb's for my application in NetWeaver .
    Can i use hibernate instead of Ejb's in NetWeaver.
    if Ok,please tell me the procedure for how to configur hibernate and how to use.
    Thanqqqqqqq
    Guru

    You should read this documents first:
    Using Hibernate on SAP WAS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2ae0614a-0601-0010-a491-a9a635f06613
    Hibernate on SAP NetWeaver - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/14f55178-0801-0010-0bac-974ed17e51d3
    and then considering integration of your app with DAO design pattern proposed by Spring Framework. More on this is available here:
    Spring Integration on SAP NetWeaver - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73af6078-0801-0010-8fa1-deaa9647c5dd
    and here: http://static.springframework.org/spring/docs/1.2.x/reference/orm.html#orm-hibernate
    Regards,
      Marcin Zduniak

  • How to configure Hibernate in JBoss

    Hi,
    I'm using JBoss to run my application.
    we are migrating complete application from JDBC to Hibernate,
    Can any one explain how should i configure Hibernate in JBoss server
    Cheers

    Go through this tutorial: http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html
    It explains how to setup hibernate.

  • Configure-to-Order (CTO) Production with Variant Configuration and Assembly

    We are trying to create a Configure-to-Order (CTO) Production with Variant Configuration and Assembly Processing.
    I have set up the required master data for variant configuration which is working fine in a sales order. I have used startegy group 82 in the MRP view of the material master for Finished goods/header material. A production order with BOM explosion is getting generated automatically during the creation of the sales order.I have stock of components available. Uploaded using 561 movement type (unrestricted stock).The requirement class that is being determined is 201.
    ISSUE:
    Availability check of the components in the production order that is getting automatically generated during sales order creation is failing. The components are not getting confirmed inspite of initialising the stock of the components in the plant we are using.
    I am looking for pointers on the important settings related to the availability check in Configure to Order scenario that have to checked to resolve this issue.
    TIA

    Hi,
    Availability check controls for Production order will be done in OPJK for plant , order type combination. Based on the settings either for creation or release system will carry Availability check of components. you can set the controls such that release can be possible even if parts are missing.
    If you have settings to restrict the release if components are missing and there is stock in unrestricted, then you need to transfer the stock to the sales order using MB1B and 413 movement type so that system can recognize the availability and allow the release of order.
    Based on your requiremnts you can map the settings in OPJK
    Hope this will help
    Regards,
    Brahmaji D

  • Using a pre-configured Hibernate SessionFactory

    Is it possible for the HibernateCacheLoader/HibernateCacheStore to use a pre-configured SessionFactory? We use Hibernate's annotation based configuration and use Spring to build our SessionFactory for us.
    It seems that the Coherence HibernateCacheLoader/HibernateCacheStore is hard wired to build the configuration from scratch.
    Thanks

    Hello,
    With the current release of the product you are correct it is not possible.
    This issue has been scheduled to be fixed in the next release of the product.
    We hope to have that release out soon but we can not give any specific time lines of the release.
    I hope this answers your questions.
    -Dave

  • Having trouble configuring my MI424WR router

    Recently, my laptop started having trouble connecting to the internet (I found out it had trouble finding the router). So I am now attempting to re-connect it to the router, but I've been having some trouble trying to configure the device.
    When I come to the login screen, I have trouble typing in the password. When I type in a letter it adds more characters than I typed (i.e. I type in a "p", and 3 dots show up instead of 1). Understandably, the website does not recognize my mangled password.
    Backspacing does not work. It either deletes the letter entirely, or doesn't delete all of the extra characters (it is quite frustrating, needless to say).
    I've tried restarting my computer and attempting to configure it again, but the same thing happens.
    I almost forgot to mention, I am attempting to establish a wireless connection (that might be important to know)
    (My laptop runs on Vista, I've heard that Fios has some trouble with computers that run on Vista.)
    Please help!

    cjk8 wrote:
    Recently, my laptop started having trouble connecting to the internet (I found out it had trouble finding the router). So I am now attempting to re-connect it to the router, but I've been having some trouble trying to configure the device.
    You may also find this link useful.  It will allow you to download the router manual if pdf format for reference purposes.
    http://onlinehelp.verizon.net/consumer/bin/pdf/VzMI424WRUserManualv4.pdf

  • Having trouble configuring xorg 1.6

    Hi all, I've started installing Arch today on my Laptop, using both the official install guide & beginners guide. However after installing the xf86-video-ati, and attempting to configure my xorg.conf file I have run into problems. No errors are displayed after I run Xorg -configure, however as soon as I then run X using the xorg.conf file I have just created, I'm simply greeted with a black screen and nothing else. Any help would be greatly appreciated.

    Umbongo wrote:EDIT: disregard that, I've managed to get it working by not using an xorg.conf file. If there's a better way to do this, can someone please tell me?
    I use a minimal xorg.conf file. X is happy without one but I  need to put in things that X cannot figure by itself.
    In my case its the fact that I prefer to use the Nvidia drivers.
    So my xorg.conf looks like this:
    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "Configured Video Device"
    DefaultDepth 24
    EndSection
    Mektub

  • Trouble configuring X with fglrx

    Hi there
    Complete arch newbie here, but bear with me. I've installed catalyst using the repository as described in the wiki article, and run aticonfig --initial to generate an xorg.conf. However, I get errors when I try to start X; my screen flickers for a moment and I receive an error message:
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@1 :0 :01) found
    In an attempt to fix this I copied a good known configuration for X from my previous Ubuntu installation but I get exactly the same error message.
    Here's my Xorg.0.log: http://paste.pocoo.org/show/214742/
    Xorg.conf: http://paste.pocoo.org/show/214743/
    Any idea how I can get X running? I'm pretty much stuck without access to my laptop
    Last edited by capitan512 (2010-05-17 00:30:18)

    JackH79 wrote:
    Off the top of my head:
    Have you tried running it without a xorg.conf?
    Have you tried catalyst-test instead? http://aur.archlinux.org/packages.php?ID=34773
    It might be easier to just use the xf86-video-ati driver.
    I'll try those things
    re:xf86, I really need to use the catalyst driver because I run games through wine on occasion
    akephalos wrote:If I remember well, I had the same error when I bought this laptop, ASUS K50AB. It has two graphic cards it seems (although I can't find that in the specifications), I disabled the default one from the BIOS utility, letting it start on the Radeon HD. Then I configured xorg.conf and voila.
    I can't see a reference to my GPU anywhere in my BIOS :S

  • Trouble configuring OC4J with JDeveloper

    Hello:
    I have installed OC4J 10.1.3 and I want to get JDeveloper 10.1.3.3 to deploy to it. I completed to Application Server wizard using localhost and port 8888 as my settings. When I try to deploy a web app, the deployment pauses indefinitely with just the messages:
    ---- Deployment started. ---- Feb 18, 2008 11:20:54 AM
    Target platform is Standalone OC4J 10g 10.1.3 (OC4J101300).
    Wrote WAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.war
    Wrote EAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.ear
    I when I test the connection in the App Server properties it runs forever, too. I tried reading the online documentation to no avail. Is it the localhost and/or port 8888 causing the trouble? How can I find out the correct settings?
    Thanks.
    Eric

    Hi,
    have you tried deploying using the Enterprise manager Console?
    http://localhost:8888/em
    Brenden

  • Flex Desktop App (AIR) + LCDS w/ Hibernate Assembler - Not Working

    I have a desktop application which uses J2EE + LCDS + Hibernate to access a MySQL database. This not returning any data when used a data service fill command (and not returning any error).
    The same set of MXML code included in a web app (using the same J2EE + LCDS + Hibernate server side config) is returning data using data service fill command.
    I am using the FLEX IDE to build both the web and desktop flex apps.
    To me it seems to be a path/compiler issue with my desktop app setup.
    Any pointers would be very helpful

    Hello -
    There are lots of things that you can do to help debug this. The first thing you'll want to do is startup the LCDS server with DEBUG logging levels turned on and look for clues (ERRORS and debug output).  See this for details.  You can turn on client-side logging and debugging to help diagnose the problem too - See "Debugging AIR applications with Flex Builder" for details.  You could also use mx:tracetarget to help further diagnose the issue.  Without any real errors being reported it is difficult to diagnose the problem.  If you are getting errors (connection errors, NPEs, etc) post them here.
    hth,
    Bill
    LCDS QE

  • Trouble configuring Virtual Hosts on Mac OS X Lion Server

    The issue
    I have a mac server running Lion. I'm using the built-in apache web server along with virtualhostx, to host multiple sites.
    The first site i installed http://digilab.co, works just fine in terms of it's URL (permalink) structure. Beautiful. However, I am hosting another site http://theurbandater.net on my server. When you go to theurbandater.net, it resolves just fine, but when you click any of the links you get something like this: http://digilab.co/~digisavvy/theurbandater/hello-world-1/. Both sites run wordpress and I'm not wanting to use MAMP.
    The redirect seems to work fine, but for whatever reason, it doesn't present the link structure as http://theurbandater.net/hello-world…
    I was hoping you might give me some insight into what might be going on. I've been banging my head on this one for a while now and can't get it figured out…
    Thanks!

    Hi digisavvy!
    As you say "when you go to theurlbandater.net it resolves just find but when you click (...)".
    I understand that the domain resolves, and the front page you reach is the right one.
    That means that Apache is properly configured, so it reaches the proper site.
    How the links are constructed within the site has more to do with Wordpress. You say that it points to the other server-name "digilab.co"... hmmmm.... Had you copy the source files and/or database from the other Wordpress you host?? =)
    There are two places you have to take a look.
    There is a configuration file called "wp-config.conf" or something similar. Review it and make the changes.
    Also take a look at the Wordpress database, there is a table called something like "wp_config", and there you'll find some records related to "domain, base path, home url" etc.
    All those records must be changed when migrating (or copy and pasting) Wordpress. Maybe search in google "Wordpress migration" to get more info.
    If you haven't migrated the files or database, or you have already done this changes, let me know!

  • Have new 1.5 Tb drive and having trouble configuring.

    This is a strange question but heres whats happening. I installed snow leopard on this new drive I bought because I use my computer for work and I did not want to upgrade my main disk before knowing all my apps work. Trouble is now every time I open photo shop it says its not licensed anymore on this machine? So the questions are a. do i have to reinstall all the programs on this HD to make them run.
    The other question is since my original disc was only 250gb and now its pretty much completely full with just applications and running pretty slow, how do I go about sharing apps between the two drives if I do decide to make both disks leopard snow? Can I just drag the application folder over to the new 1.5 tb disk.
    Basically I want both drives to act as one large drive with multiple partitions.
    Sorry if my question is vague/

    This is what I am doing
    I boot from the snow leopard drive,
    I open photoshop cs4 from the applications folder on the HD with 10.5.8 on it
    There is an error saying that photoshop needs to be re-authorized.
    Do I need to reinstall photoshop on the leopard snow HD if the HD that photoshop is installed on is running 10.5.8?
    In the future say I install snow on both drives. What if I install a program like photoshop or logic studio on only 1 of the drives. Does this mean that all the third party plug ins that I have must be installed on the same disk so that there accessed correctly?

  • Trouble configuring SunScreen 3.2

    "--Adding interfaces & interface addresses
    --Applying edits
    --Activating configuration
    _I_MUXID2FD::: Invalid argument
    33
    /usr/lib/sunscreen/lib/ss_activate: ss_default_drop failed, return code 33 -- Exiting...
    An error occurred while activating the configuration.
    The configuration has not been activated."
    I get it all the time. What's that MUXID2FD? All required packages seem to be installed.
    My specs for SunScreen configuration are:
    Routing/Local Administration/Permissive Security/DNS.
    2xNIC (3COM/Realtek 8139) Solaris 9 x86 machine is acting as DHCP/Samba PDC server and router between 10.0.0.1/255.0.0.0 and 192.168.0.1/255.255.255.0. Uses DNS relay (ISP DNS servers) as name service.

    I forgot to mention that this PC is acting as an Internet server on rtls0 (192.168.0.1/255.0.0.0), and it's elx0 (10.0.0.1/255.0.0.0) is used to connect to ISP via ADSL with PPPoEd SUN PPPd 4.0. So there's an additional interface sppp0.
    # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    elx0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.0.0.1 netmask ff000000 broadcast 10.255.255.255
    ether 0:60:97:80:5b:ca
    rtls0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255
    ether 0:30:84:a:81:ba
    sppp0: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 1492 index 4
    inet 213.219.89.165 --> 213.219.88.1 netmask ffffff00
    ether 0:0:0:0:0:0
    Killing pppd and unplumbing sppptun (pppoe/pppoed) from elx0 produces the following while #ssadm configure with the same settings as above:
    --Adding interfaces & interface addresses
    --Applying edits
    --Activating configuration
    status:: SIOCGLIFFLAGS: No such device or address
    33
    /usr/lib/sunscreen/lib/ss_activate: ss_default_drop failed, return code 33 -- Exiting...
    An error occurred while activating the configuration.
    The configuration has not been activated.
    I could only wonder what's a SIOCGLIFFLAGS and 33... :(

  • Trouble configuring custom SAF

    I'm trying to start developing my own SAF but I'm having trouble with my first step of getting a very basic SAF to work. At this point I'm just trying to get every request rejected to show my SAF is doing something, but it's not working at all (all requests accepted).
    I'm starting with the QOS sample SAF that comes with the build. This is Sun Java System Web Server 7, on CentOS.
    I'm going to show some of the details because I suspect it's something very basic/simple that I'm doing wrong.
    The highlights of my SAF code is:
    NSAPI_PUBLIC int requestLimit(pblock *pb, Session *sn, Request *rq)
        PRBool ok = PR_TRUE;
        ok = PR_FALSE;
            protocol_status(sn, rq, PROTOCOL_SERVICE_UNAVAILABLE, NULL);
            return REQ_ABORTED;
    //The rest of this function's code should be irrelevant at this point
    //I just hard coded the return above to try to get something working
        if (ok)
            return REQ_PROCEED;
        else
            /* one of the limits was exceeded
               therefore, we set HTTP error 503 "server too busy" */
            protocol_status(sn, rq, PROTOCOL_SERVICE_UNAVAILABLE, NULL);
            return REQ_ABORTED;
    NSAPI_PUBLIC int requestLimitError(pblock *pb, Session *sn, Request *rq)
         char* err_header = "<HTML><HEAD><TITLE>Unable to service request</TITLE></HEAD><BODY>";
         char* error = "Limits Exceeded";
         char* err_footer = "</BODY></HTML>";
        PRBool ours = PR_FALSE;
        /* Tests to see if this 503 error is a request limit error */
        ours = PR_TRUE; //hard coding true for now
        if (ours)
            /* this was really a QOS failure, therefore send the error page */
            pb_param *pp = pblock_remove ("content-type", rq->srvhdrs);
            if (pp != NULL)
                 param_free (pp);
            pblock_nvinsert ("content-type", "text/html", rq->srvhdrs);
            protocol_start_response(sn, rq);
              net_write(sn->csd, err_header, strlen(err_header));
            net_write(sn->csd, error, strlen(error));
              net_write(sn->csd, err_footer, strlen(err_footer));
            return REQ_PROCEED;
        else
            /* this 503 didn't come from a QOS SAF failure, let someone else handle it */
            return REQ_PROCEED;
    }I've adjusted the Makefile:
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # Defines for example NSAPI programs running under Linux
    CC_CMD=/usr/bin/gcc -fpic -DNET_SSL -DLinux -DLINUX -D_REENTRANT
    LD_SHAREDCMD=/usr/bin/gcc -shared
    # Support for including NSPR header files under JES(Linux)
    EXTRA_INCLUDEFLAGS=-I/opt/sun/private/include/nspr
    all:
    prepare:
    INCLUDEDIR=../../../include
    INCLUDE_FLAGS=-I$(INCLUDEDIR) -I$(INCLUDEDIR)/base -I$(INCLUDEDIR)/frame -I$(INCLUDEDIR)/nspr $(EXTRA_INCLUDEFLAGS)
    COMMON_DEFS=-DMCC_HTTPD -DXP_UNIX -DSPAPI20
    all: share.so
    share.so: share.o
         $(MAKE) prepare
         $(LD_SHAREDCMD) share.o -o share.so $(EXTRA_LDDEFINES)
    .c.o:
         $(CC_CMD) $(COMMON_DEFS) $(INCLUDE_FLAGS) -c $<
    clean:
         rm *.o *.so $(EXTRA_CLEAN)The magnus.conf file in /sun/webserver7/https-localhost.localdomain/config is:
    # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    Init fn="load-modules" shlib="libj2eeplugin.so"
    Init fn="load-modules" shlib="/sun/webserver7/samples/nsapi/share/share.so" funcs="requestLimit,requestLimitError"
    #Init fn="load-modules" shlib="/sun/webserver7/https-localhost.localdomain/lib/test.so" funcs="custom_request_limits" shlibs_flags="(global|now)"The last line above is commented out from an earlier experiment
    The obj.conf file in /sun/webserver7/https-localhost.localdomain/config is:
    # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    AuthTrans fn="requestLimit"
    Error fn="requestLimitError" code="503"
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    #NameTrans fn="custom_request_limits"
    NameTrans fn="assign-name" from="**/**.html" name="**/**.html"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/sun/webserver7/lib/icons" name="es-internal"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="*" type="*" fn="requestLimit"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="**/**.html">
    #NameTrans fn="custom_request_limits"
    </Object>I have stopped the server with /sun/webserver7/https-localhost.localdomain/bin/stopserv, confirmed the site was not responding, then started it with /sun/webserver7/https-localhost.localdomain/bin/startserv
    At this point, I believe the SAF should be blocking all requests to the server, but it doesn't. All requests are handled as before. I've cleared my browser cache to make sure it's really requesting the files from the server.
    A few trouble shooting tests:
    I've tried deleting the share.so file and making sure it is restored by 'Make'. Make does not report any errors.
    I've intentionally changed the names of the functions in share.c to ones that don't match to make sure the server is looking for them, and that does prompt an error when I restart the server.
    I've intentially changed the fn names in the magnus.conf file to ones that don't match, and that also prompts errors when I restart the server.
    However, if I change the fn name in the obj.conf AuthTrans line, that does NOT prompt any errors. So I wonder if the obj.conf file is being used, but I'm not sure what else/different to do with it.
    I've tried changing the obj.conf file to hook in my SAF at differnent points (NameTrans, Service), but nothing seems to have an effect.
    I'm all out of ideas. Any suggestions (oh please, oh please) ?
    Edited by: timwhunt on Apr 23, 2009 2:29 PM

    Thanks for suggesting the logs, that's a lession I seem to have to learn many times!
    I've only found one line that looks related, and it's from the server startup:
    [23/Apr/2009:16:07:51] fine (26232): attempting to load /sun/webserver7/samples/nsapi/share/share.so
    There's no indication of any error after that attempted load. When I intentionally changed names so they didn't match yesterday, that did prompt an earlier error in the log that I found. But there are no errors now that I've restored the correct name.
    It doesn't add anything to the error log in response to a request, except for perhaps another entry like:
    [23/Apr/2009:16:20:39] fine (26237): Updating accelerator cache
    But nothing specific about SAFs. There is also no reference at all to the obj.conf file.

Maybe you are looking for

  • Adding a PC to my Airport Express Network

    I set up an Airport Express after my brighthouse-supplied linksys wireless router died . I have three computers on the network: An old Dell Laptop running Windows '98 ; a Dell PC running Windows XP Home Edition. I cannot seem to figure out why the PC

  • Getting "Serialized xml is nested too deeply" when trying to restart AppFabric Cache Cluster remotely with Powershell

    Hi! I´m Getting the following error when trying to restart the AppFabric Cache Cluster: PS C:\temp> .\restartappfabric.ps1 Serialized xml is nested too deeply. + CategoryInfo          : OperationStopped: (ServerName:String) [], PSRemotingTransportExc

  • Export from FCP to edit in Adobe Premiere

    I need to export 3 hours of HDV footage for a client who plans to edit it in Premiere. I know when I capture it and give it to him it doesn't work. What is the best way to export all the footage to give him to edit? I looked into uncompressed 8 bit b

  • [Solved]Vmware Player - Blocking File System not fails to load

    All the mods load fine, except Vmblock. this is what i get when i run vmplayer. make: *** /tmp/modconfig-NtGU4D/vmblock-only: No such file or directory. Stop. Starting VMware Services: Virtual machine monitor.... (finishes loading without problems) i

  • 9.03 to 10g migration.

    Reading caerfully the Steve's ADF Primier WhitePaper I read : "When you upgrade your existing JDeveloper9i applications from the 9.0.3 or 9.0.4 releases, the format of the *.jpr file is changed slightly, but no migration is performed on existing code