Issues Compiling using CC on solaris 64 bit

I am trying to use Wall command along with cc Compiler on Solaris 64 bit but it throws me the error:
"cc: illegal option -Wall".
I have been working on gcc for a while and this is my first encounter with cc compiler.
Please provide the corresponding alternative for Wall on CC
Thanks in advance
-SJ

Well, do you mean cc or CC.
cc is the sun C compiler. CC is the sun C++ compiler
-Wall is a gccism. All it does it turn on more compiler warnings.
So its hardly a critical feature
if you need to know about cc/CC options then try "man CC" or "man cc"
You will probably have to add /opt/SUNWspro/man to your manpath first.
Looking through the CC man page -verbose=diag appears to be the closest equivalent.
The closest I see in the cc man page is just "-v"
This is from studio 7. The options may have changed in more recent versions..

Similar Messages

  • 64 bit compilation using gcc - please help

    Hi All,
    My system runs on
    SunOS SUNSMART 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-280R
    i have a c program which compiles and runs perfectly. Now i came to know that using the -xarch=v9 option with the gcc which compiling we can produce a 64 bit executable. I compiled the program like this
    gcc -c GbmCashTran.c
    gcc -o GbmCashTran GbmCashTran.o *.so -xtarget=native -xarch=sparcv9 -lsocket
    but when i check whether it has compiled as 64 bit executable using the 'file' command like
    file GbmCashTran
    it gives the result as
    GbmCashTran: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
    why is this???
    Please tell me how to compile this c program into a 64 bit executable.......
    tanx
    bala

    By all the accounts I've seen, gcc 2.95.x will produce 64-bit executables for SPARC. The first version which appears to work (after significant handholding) is gcc 3.0. You can see a fairly good description of how to bootstrap the gcc 3.0 build into a working 64-bit compiler here
    http://www.well.com/~jax/rcfb/solaris_tips/build_gcc_3.0_64bit.html
    Also, you can find prebuilt and installable versions of gcc at
    http://sunfreeware.com/
    I think the version there is 3.3.2

  • Compilation of C program in 64 bit mode using  gcc

    How do i compile a C program in 64 bit mode using gcc 2.95.2. I am using Sun Os 5.8.
    Pls give the command

    When i use the follwing script
    cc -w -v -DSOLARIS -DSOLARIS2 -m64 -c $1.c -I./. -I/usr/lib/sparcv9 -I/usr/include -I/usr/include/sys -I/usr1/soft/smshdr -I/oracle9i/precomp/public -I/oracle9i/sqllib/public
    I got the following error .. Pls help
    Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
    gcc version 2.95.2 19991024 (release)
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cpp -lang-c -v -I./. -I/usr/li
    b/sparcv9 -I/usr/include -I/usr/include/sys -I/usr1/soft/smshdr -I/oracle9i/prec
    omp/public -I/oracle9i/sqllib/public -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dsparc -D
    sun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__S
    VR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -w -D__arch64__ -Ac
    pu(sparc64) -Amachine(sparc64) -DSOLARIS -DSOLARIS2 XCupCRC.c /var/tmp/cckMTbiU.
    i
    GNU CPP version 2.95.2 19991024 (release) (sparc)
    #include "..." search starts here:
    #include <...> search starts here:
    /usr/lib/sparcv9
    /usr/include
    /usr/include/sys
    /usr1/soft/smshdr
    /oracle9i/precomp/public
    /opt/sfw/include
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/../../../../sparc-sun-solaris2
    .8/include
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include
    /usr/include
    End of search list.
    The following default directories have been omitted from the search path:
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/../../../../include/g++-3
    End of omitted list.
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cc1 /var/tmp/cckMTbiU.i -quiet
    -dumpbase XCupCRC.c -m64 -w -version -o /var/tmp/ccqeBknF.s
    cc1: -m64 is not supported by this configuration
    cc1: -mptr32 not allowed on -m64
    GNU C version 2.95.2 19991024 (release) (sparc-sun-solaris2.8) compiled by GNU C
    version 2.95.2 19991024 (release).
    XCupCRC.c: In function `XCupCRC':
    XCupCRC.c:45: internal error--unrecognizable insn:
    (insn 208 206 210 (set (reg:DI 10 %o2)
    (symbol_ref:DI ("*.LLC0"))) -1 (nil)
    (nil))

  • Webutil on Solaris 64 bit

    All,
    Has any one implemented webutil on Solaris 64 bit server. We are having issues with it in both Development Suite and Forms 10g environment.
    Thanks
    Akshaya

    Thanks Arun.
    We were in touch with Oracle support for last 6 months. We are told we found 2 new bugs in Forms 10g.
    1. A demo form with a sub-class (of either webutil or calendar) is not recognized by the compiler (frmcmp) on a 64-bit Solaris server.
    2. While doing a sub-classing on 64-bit Solaris server, we are getting core dumps.
    So, my original questions comes back, has any one implemented Forms 10g on Solaris 64-bit system.
    Thanks
    Akshaya

  • FMB size changes when compiled using ifcmp60 compared to using ifbld60

    We observed that when we batch compiled our forms size of the FMB reduced quite a bit after batch compile and save compared
    to what it was to originally when compiled and saved through forms builder (ifbld60.EXE). If after this form is opened in
    forms builder and then compiled and saved it reverts to original size. We also checked using one of the third party form
    diff utility and found both FMB’s from batch compile and one from form builder even though of different size do not have any
    difference.
    Now question sis what is the reason FMB size is reduced and does it not pose any kind of issue for loosing something out of
    the FMB. Please explain what is this behavior with impact if any etc?
    We batch compile using the following code.
    For %%I in (sizechange.FMB) do start /w ifcmp60 module=%%I userid=usrname/passwd@SID batch=yes compile_all=yes Upgrade=No
    build=Yes
    We made a sample form named sizechange.fmb with non-db block and having program unit selecting from dual multiple times.
    Environment details : Windwos 2000, Forms 6.0.8.22.1, db(8.0.6.0.0) on HP9000-UX 10.20
    Thanks in advance for your response.
    Vinay Gupta
    I am not sure where to upload sample file, if someone needs it I can email it.
    Thanks,

    Didn't see they where timestamps . Yes it seems that glx is one cause of the delay. I've tried some different xorg.conf, and it's always ligglx.so or  NV-GLX that slows it down. Any suggestions on how I can speed this up?
    ps. The computer is ok. Although the garddrive is a SATA 3.0Gb/s, 5400 RPM.  But I don't think this is the problem?

  • Compiler cc vs acc in 64 bits

    Hi:
    We have the "Forte C 6 update 2" and I have a C program and I need to compiler in 64bits using acc and cc
    Note:
    acc is the same tha /usr/ucb/cc, it which use the /usr/ccs/bin/ucbcc program. This /usr/ccs/bin/ucbcc program is a link to /opt/SUNWspro/WS6U2/bin/acc
    The command that I used was:
    # /usr/ucb/cc -D_BSD -c -xarch=v9 cuadraex.c
    ucbcc: Warning: Option -YP,:/usr/ucblib/sparcv9:/opt/SUNWspro/WS6U2/bin/../lib/sparcv9:/opt/SUNWspro/WS6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 passed to ld, if ld is invoked, ignored otherwise
    This command generated the objet file called "cuadraex.o" of 64 bits
    # file cuadraex.o
    cuadraex.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
    And now I run this command for to generate the exe file:
    # /usr/ucb/cc -D_BSD -o cuadraex -xarch=v9 cuadraex.o
    ucbcc: Warning: Option -YP,:/usr/ucblib/sparcv9:/opt/SUNWspro/WS6U2/bin/../lib/sparcv9:/opt/SUNWspro/WS6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 passed to ld, if ld is invoked, ignored otherwise
    ucbcc: Cannot find /opt/SUNWspro/WS6U2/lib/wordalignI8.o
    When I do the same with the compiler "cc", I don't have problem
    # cc -c -xarch=v9 cuadraex.c
    # cc -o cuadraex -xarch=v9 cuadraex.o
    That's working
    Can somebody help me?
    Best regards

    The man page for acc(1) says:
    DESCRIPTION
    acc (SPARC only) is not intended to be used directly on Solaris. The sole purpose for
    making it available on Solaris is to enable /usr/ucb/cc. The package SUNWscpu must be
    installed to use this. The options
    for /usr/ucb/cc are the same as for acc and are described here.
    The man page is for Solaris 8 and I have FD6.2
    installed. You might want to make sure that SUNWscpu
    in installed.

  • Issues with using the output redirection character with newer NXOS versions?

    Has anyone seen any issues with using the output redirection character with newer NXOS versions?
    Am receiving "Error 0x40870004 while copying."
    Simply copying a file from bootflash to tftp is ok.
    This occurs for both 3CDaemon and Tftpd32 softwares.
    Have tried it on multiple switches - same issue.
    Any known bugs?
    thanks!
    The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
    MDS2# sho ver | inc system
      system:    version 4.1(1b)
      system image file is:    bootflash:///m9200-s2ek9-mz.4.1.1b.bin
      system compile time:     10/7/2008 13:00:00 [10/11/2008 09:52:55]
    MDS2# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    TFTP put operation failed:Access violation
    Error 0x40870004 while copying tftp://10.73.54.194/
    MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    |
    TFTP put operation was successful
    MDS2#
    ck-ci9216-001# sho ver | inc system
      system:    version 3.2(1a)
      system image file is:    bootflash:/m9200-ek9-mz.3.2.1a.bin
      system compile time:     9/25/2007 18:00:00 [10/06/2007 06:46:51]
    ck-ci9216-001# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    |
    TFTP put operation was successful

    Please check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
    1. Download tftpd32b.zip from:
    http://tftpd32.jounin.net/tftpd32_download.html
    2. Copy the tftpd32b.zip file into an empty directory and extract it.
    3. Copy the file you want to transver into the directory containing tftpd32.exe.
    4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
    At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
    Best Regards...

  • Kill processes (using Javascript) on a 64-bits machine (Windows Vista, 7, 8, 8.1)

    Hi everyone. I have a simple VBScript sample that kills a process by name. It works fine on every OS, X86 and 64 bits :
    ---------------------------kill process sample----------------------------------------
    Set wsh = CreateObject("Wscript.Shell")
    wsh.Run "calc.exe",1
    Set Processes = GetObject("winmgmts:").InstancesOf("Win32_Process")
    For each Process in Processes
    Select Case LCase(Process.Name)
    Case "calc.exe" 
    Process.Terminate(1)
    I tried the "for" loop, the "forEach" loop and "switch" in javascript but none of them work like in VBScript.
    Could anyone help me converting this script sample to javascript, since VBScript became obsolete and God knows whether it will be available for HTA applications and Windows Script Host files in the near future.
    Thanks a lot in advance.

    Jvr, you said :
    "What you have done is one of the reasons why support for ActiveX is being dropped.  By allowing unsafe controls you have removed the most important security restriction.
    I highly recommend that you spend some time learning Windows but not from web sites or from people who are just hackers.
    If you are going to alter IE you might as well just use an HTA.  It doesn't reduce security and is much easier to use.
    You are trying to do what a lot of new and untrained people try.  You are trying to reinvent Windows but mostly because you do not have fundamental technical training.  Get the training and you will not be led down these pointless paths.
    NTVDM is not CMD.EXE.  NTVDM is used to emulate a 16 bit DOS environment. It is not required for NT or for CMD.EXE.  It is disabled by default on all modern versions of Windows.  16 bit applications can be a security issue and
    do make managing Windows harder."
    One of the best features of IE might be ActiveX technology. I could be wrong, but some controls are still highly used by websites, and a lot of softwares help rely on HHCTRL ActiveX. I don´t see it *currently* being dropped.
    Could be in the future, but not only IE uses Activex, a lot of programs make use of them, not to mention popular ones like Word, Excel.
    My friend, I use Windows for more than a decade, don´t tell me what I have to learn or not. You´ve got to be kidding because I know a lot but of course I am humble to admit I ´don´t know everything and can at times have doubts, other people can help
    just like I could help when someone has a doubt on something I know. Also I dont know why you are talking about hackers. As far as I know they *must* know the OS in order to exploit stuff and run their malicious code, not only know how to exploit general vulnerabilities,
    so I bet the real hackers have a lot to teach.
    I am not untrained, sorry but you must be high since you are not reading my posts correctly. I said I altered security setting for the *INTRANET ZONE*, not Internet, and also set the "Websites in less privileged zones can navigate to thiz zone" to deny.
    And if you are an expert you must know the intranet zone is disabled by default, which is my case, but if you add an IP address or website, then it will be enabled *only* for them. Furthermore an attacker would need to know what is the IP address I added and
    would need to bypass the cross site scripting filter and also the setting above that I disabled.
    Again, you´ve gotta be high. I never said CMD=NTVDM. NTVDM just emulates a 16 bits program which is Command.com, I said in the other post, didn´t you read?
    And you can´t tell if MSHTA, ActiveX and WSH will be totally removed from Windows in the future, it is only a possibility. They are useful. 16 bits apps are not but are still supported on 32-bits Windows. Check out on a 32-bits system, and tell me if
    you found some 16-bits apps including C:\windows\system32\command.com.
    Hope now you understood what I have written.
    cheers.

  • Library Projects compiled using Flash Builder and ANT have different outputs

    Hi Guys.,
    I am really having hard time to get something work right with RSL projects in Flex 3.2 SDK. Here is my weird problem.
    I have a library projects which has the following settings in Flash Builder
    Link Type : External
    airglobal.swc
    framework.swc
    datavisualization.swc
    rpc.swc
    utilites.swc
    applicationupdater.swc
    applicationupdater_ui.swc
    Link Type: Merged into code
    airframework.swc
    servicemonitor.swc
    Compiler settings
    -directory=true -output=../../lib/core -debug=true -optimize=false -define+=CONFIG::bindingdebug,false -define+=CONFIG::frameworkdebug,false -define+=CONFIG::flexspy,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::logtoconsole,false -allow-source-path-overlap=true  -keep-as3-metadata+=Metadata,DefaultProperty,Required,Event,AssignableTo,Inject,InjectCon structor,Publish,Subscribe,PublishSubscribe,Factory,Init,Destroy,Observe,AsyncInit,Managed Events,MessageDispatcher,MessageHandler,MessageBinding,MessageInterceptor,MessageError,Com mand,CommandComplete,CommandResult,CommandError,CommandStatus,ResourceBinding,Selector,Tar get,Autoremove,Internal,ObjectDefinition,DynamicObject
    When I compile my library projects I get a MyLibraryproject.swc. The SWC has the following files in it
    mx/controls/HTML.png
    mx/core/Windows.png
    library.swf
    Note: airframework.swc and servicemonitor.swc has a many png files and properties files in it. But these properties and png files are not included when compiled in Flash builder.
    But when the same project is compiled using ANT compc task, i get all the png and properties files from airframework.swc and servicemonitor.swc files into my library project SWC file.
    Here is the ANT version which is used to compile the library project
    <compc output="${project.output.dir}/${project.name}.swc"
       include-classes="${as} ${mxml}"
       use-network="false"
       directory="false"
       allow-source-path-overlap="true"
       incremental="${build.incremental}"
       debug="${build.debug}"
       locale="${build.locale}"
       optimize="false"
       >
    <define name="CONFIG::bindingdebug" value="${build.bindingdebug}" />
    <define name="CONFIG::logtoconsole" value="${build.logtoconsole}" />
    <define name="CONFIG::frameworkdebug" value="${build.frameworkdebug}" />
    <define name="CONFIG::flexspy" value="${build.flexspy}" />
    <define name="CONFIG::debug" value="${build.debug}" />
    <define name="CONFIG::release" value="${build.release}" />
    <keep-as3-metadata name="Metadata" />
    <keep-as3-metadata name="DefaultProperty" />
    <keep-as3-metadata name="Required" />
    <keep-as3-metadata name="Event" />
    <keep-as3-metadata name="AssignableTo" />
    <keep-as3-metadata name="Inject" />
    <keep-as3-metadata name="InjectConstructor" />
    <keep-as3-metadata name="Publish" />
    <keep-as3-metadata name="Subscribe" />
    <keep-as3-metadata name="PublishSubscribe" />
    <keep-as3-metadata name="Factory" />
    <keep-as3-metadata name="Init" />
    <keep-as3-metadata name="Destroy" />
        <keep-as3-metadata name="Observe" />
        <keep-as3-metadata name="AsyncInit" />
        <keep-as3-metadata name="ManagedEvents" />
        <keep-as3-metadata name="MessageDispatcher" />
        <keep-as3-metadata name="MessageHandler" />
        <keep-as3-metadata name="MessageBinding" />
        <keep-as3-metadata name="MessageInterceptor" />
        <keep-as3-metadata name="MessageError" />
        <keep-as3-metadata name="Command" />
        <keep-as3-metadata name="CommandComplete" />
        <keep-as3-metadata name="CommandResult" />
        <keep-as3-metadata name="CommandError" />
        <keep-as3-metadata name="CommandStatus" />
        <keep-as3-metadata name="ResourceBinding" />
    <keep-as3-metadata name="Selector" />
    <keep-as3-metadata name="Target" />
    <keep-as3-metadata name="Autoremove" />
    <keep-as3-metadata name="Internal" />
    <keep-as3-metadata name="ObjectDefinition" />
    <keep-as3-metadata name="DynamicObject" />
    <load-config filename="${air.config}"/>
    <compiler.include-libraries dir="${flex.frameworks.dir}/libs/air" append="true">
         <include name="servicemonitor.swc" />
         <include name="airframework.swc" />
    </compiler.include-libraries>
    <external-library-path dir="${build.compc.dir}" append="true">
         <include name="TriGeoFlexFramework/TriGeoFlexFramework.swc" />
         <include name="TriGeoLibrary/TriGeoLibrary.swc" />
         <include name="TriGeoRPCFramework/TriGeoRPCFramework.swc" />
         <include name="Degrafa_Beta3.1_Flex3" />
         <include name="parsley-flex3-2.4.0.swc" />
         <include name="spicelib-flex-2.4.0.swc" />
    </external-library-path>
    <external-library-path dir="${flex.frameworks.dir}/libs" append="true">
         <include name="framework.swc" />
         <include name="datavisualization.swc" />
         <include name="utilities.swc" />
         <include name="rpc.swc" />
         <include name="air/airglobal.swc" />
         <include name="air/applicationupdater.swc" />
         <include name="air/applicationupdater_ui.swc" />
    </external-library-path>
    <source-path path-element="${basedir}/src" />
    </compc>
    </target>
    </project>
    Any insights is greatly appreciated.!

    #1, If it compiles then you have no issue. There's no reason at this point not to use 4.6. You should bundle a captive runtime to assure the users computer won't need to have AIR installed at all.
    #2, Papervision is old. Use the Stage3D and/or a wrapper framework. As far as the generic "If I download lots of data will it take the user more time to load it", well, of course. Just don't make the loading experience painful. Entertain them while they way or find ways of displaying data sooner than later. If it's desirable on the web has more to do with the context of the app and the device displaying it. In other words, a phone user would find it easy but obviously not a desktop user.
    #3, Definitely referring you to Google on that one.
    #4, Size always matters, it's common sense. The more you process the harder it is. While I haven't done AR I've used the Microsoft Kinect SDK and ANE and tracking was extremely fast but limited. From what I've seen and your basic built in location and direction hardware on any mobile device you shouldn't have much trouble. Depends on what you're doing.
    #5, This discussion would be way too large for a forum. You'd need to consult a firm experienced in AR development.
    #6, "Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at [email protected] for more information." They will base your price on your product, there is no single price.
    #7, The models could be huge and elaborate or tiny and simple which changes the answer. Consult the answer in #4. Ultimately most people are getting on fast networks with mobile and excessively fast on desktop/wifi. Size matters a lot less than 3 years ago.
    #8, Depends on what you're doing. You have to explain it.

  • My photos look terrible in the library module after editing in the develop module.  They look nothing alike.  How do I solve this issue?  Using Lightroom 5.

    anyone have any ideas?  The only way I can get around this is export the photo back into iPhoto and try to edit out the mess.

    The waves you are seeing on your monitor must be more pronounced than what I'm seeing in the posted screenshots. The Library module uses Adobe RGB AND 8-bit JPEG preview images, which can cause banding in fine gradient areas (compared to Develop view), but I'm not seeing a huge difference in your screenshots. Here's a screen shot with my non-wide gamut monitor calibration profile. If my screenshot shows less banding than what you are seeing with the original images it indicates a monitor profile issue as described by twenty-one. A hardware calibrated monitor is recommended to prevent these types of issues.
    The Library image also appears lighter in the shadow area, which probably indicates more Luminance NR needs to be applied or perhaps less sharpening. Try it and see if that helps with the issue.

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

  • Oracle SQL Developer issue when using VPN (Cisco)

    All,
    We've got a somewhat obscure issue with SQL Developer connectivity to our databases from a remote employee's laptop.
    The database is hosted inside our firewall and when the employee tries to connect to the database he receives the following error:
    +"Error Encountered: An error was encountered performing the requested operation: The network adaptor could not establish the connection. Vendor Code 20"+
    I believe I may have seen the following error at one point as well...
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Note: He gets this error when logged into our VPN & while he can connect via SQL*Plus to that same database. He gets the error regardless if he uses the tnsnames entry option in SQL Developer or if he is using the "Basic" connection type.
    What's interesting is that if he disconnects from the VPN, turns off his wireless connectivity and then hard-wires into our network he can connect, no issue.
    The strangest part for me is that while he can not connect to the database via SQL Developer, he can connect via SQL*Plus. He can ping the source IP address fine, he can tnsping the database no problem, he can connect via SQL*Plus, he just can't connect via SQL*Developer. Since SQL*Plus and tnsping are working, I know he can access the db server via port 1521, so I don't think it's a port issue.
    Another strange thing: When he connects to our network via an "old" VPN (open VPN) he has no issues.
    His machine is Windoz 64 bit (HP laptop) and he's using the latest version of SQL Developer and a newer JVM.
    Also interesting: I also have a Windoz 64 bit laptop (Lenovo) and I do not have the same issues as he does. I however am running an older version of SQL Developer and probably an older JVM.
    I dug around a bit, seems like perhaps this has something to do with IPv6? No idea what to do next except have my network guy look at firewall logs to try to capture where the connectivity is being dropped.
    Any thoughts or suggestions would be appreciated. I've tried all kinds of things (giving him my tnsnames.ora and sqlnet.ora file, manually editing those files, tried IP addresses instead of host names, tried host names with the .doman.org extensions, etc.).
    Again, any suggestions would be appreciated and thank you very much.
    Rich
    Edited by: rmurnane on Oct 23, 2012 10:58 AM

    Since SQLPlus is installed and works fine you could try to set
    Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick driverThis should enable SQLDeveloper to use the same oracle client SQLPlus is using to connect to the database.
    Mind that by setting this option you need to have an 11g client (or instant client) installed that matches the ojdbc6.jar version used by SQLDeveloper, so if you are using an older client this may not be a usable solution.

  • Instant client 10.2.0.2 - Solaris 32 bit - sqlplus relocation error

    Did anyone use the sqlplus that comes with Instant Client 10.2.0.2 - Solaris 32 bit to connect to a remote Oracle database?
    I am unable to get it working.
    More info below:
    I unpacked these two packages onto my Solaris 9 box into a directory called /space/OracleClient10g/instantclient_10_2
    a) instantclient-basic-solaris32-10.2.0.2-20060303.zip
    b) instantclient-sqlplus-solaris32-10.2.0.2-20060303.zip
    I have set the following environment variables (csh):
    setenv ORACLIENT /space/OracleClient10g/instantclient_10_2
    setenv LD_LIBRARY_PATH "$ORACLIENT":"$LD_LIBRARY_PATH"
    set path = ($ORACLIENT $path)
    setenv SQLPATH $ORACLIENT
    setenv TNS_ADMIN $ORACLIENT
    setenv NLS_LANG AMERICAN_AMERICA.UTF8
    The tnsnames.ora file is in the $TNS_ADMIN directory and it has the tns entry that I need.
    When I run sqlplus using the tnsentry, I get a "relocation error" as below:
    $ sqlplus user1/pwd1@tnsentry
    ld.so.1: sqlplus: fatal: relocation error:
    file /space/OracleClient10g/instantclient_10_2/libsqlplus.so: symbol
    lnxqebc_chars: referenced symbol not found
    (The same tns entry is used from a different Solaris 9 machine where I have a full Oracle 9i client installed and sqlplus connects fine using this tns entry - so I do not think there is anything wrong with this tns entry. Besides, the error message that I am getting when I run sqlplus can be reproduced even by simply running 'sqlplus' without any arguments. )
    When I do an 'ldd' on sqlplus, every library needed by sqlplus is loaded correctly.
    $ ldd /space/OracleClient10g/instantclient_10_2/sqlplus
    libsqlplus.so => /space/OracleClient10g/instantclient_10_2/libsqlplus.so
    libclntsh.so.10.1 => /space/OracleClient10g/instantclient_10_2/libclntsh.so.10.1
    libnnz10.so => /space/OracleClient10g/instantclient_10_2/libnnz10.so
    libkstat.so.1 => /usr/lib/libkstat.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libgen.so.1 => /usr/lib/libgen.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    librt.so.1 => /usr/lib/librt.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libmd5_psr.so.1
    Any ideas on the cause of this error?

    I'd say that there is a problem loading the shared library libsqlplus.so.
    Try 'ldd /space/OracleClient10g/instantclient_10_2/libsqlplus.so' and see which libraries are referenced.
    It seems like they are all found, but at least one of them is missing an entry that should be there.
    - Trace sqlplus with 'strace' or 'truss' (I don't know which of the two exists on Solaris) to
    find out which library has the problem.
    - Check the versions and compare them with the versions required by the installation guide for the Oracle client.
    Yours,
    Laurenz Albe

  • Registration issues....  Solaris 10 - 06/06

    Having issues registering my V440 running Solaris 10 06/06. I have posted the error below and them some system information below that. any help is appreciated.
    sysax /: /usr/sbin/sconadm register -a -r /usr/lib/breg/data/RegistrationProfile.properties
    sconadm is running
    Authenticating user ...
    Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
    at $Proxy1.getInstanceName(Unknown Source)
    at com.sun.scn.client.SCNClientSession.login(SCNClientSession.java:371)
    at com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter.loginAccount(ClientLoginCacaoAdapter.java:209)
    at com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1079)
    at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:669)
    at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
    Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SCNBaseServiceFactory,assetSubProfile=Factory,host=sysax.consolidated.com,assetProfile=Factory,scnType=ServiceFactory,Vendor=Sun Microsystems Inc
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
    at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
    at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:474)
    at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
    at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
    at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
    at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1303)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766)
    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:585)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:969)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
    ... 6 more
    sysax /: cat /etc/release
    Solaris 10 6/06 s10s_u2wos_09a SPARC
    Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 09 June 2006
    sysax /: cat /var/sadm/system/admin/CLUSTER
    CLUSTER=SUNWCall
    sysax /: java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    sysax /: smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source - https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    sysax /: cat /usr/lib/breg/data/RegistrationProfile.properties
    # CLI registration profile template version 1.0
    # ******** WARNING ********
    # This profile contains sensitive data: passwords and subscription
    # keys. You should take care in how you handle it, ensuring that it
    # is always adequately protected (mode 400 or 600, owned by root)
    # and not stored on insecure file systems like those exported through
    # standard NFS.
    # Sun Online account information. A new account can be created by visiting
    # http://updates.sun.com
    userName=**************
    password=***********
    # Name (label) of this machine as you would like it to appear on the Sun Connection
    # portal. If left blank hostname will be used
    hostName=devdbs01
    # Service Plan / contract number with Sun. For more information on this topic
    # please visit http://www.sun.com/service/warrantiescontracts/ . NOTE - a
    # subscription key is required to use the Sun Connection Portal.
    subscriptionKey=***************
    # Allow this host to be managed by the Sun Connection Portal. If set to true,
    # a subscription key is required.
    portalEnabled=true
    # HTTPS proxy information needed to connect to Sun for registration and patch
    # updates.
    proxyHostName=
    proxyPort=
    proxyUserName=
    proxyPassword=

    The error message I received was from the Sun Update Connection GUI. Once the patches I attempted to apply failed.
    sysax /tmp: ./suc.sh.2
    $USER:
    $LOGNAME: root
    Sat Feb 24 13:37:07 CST 2007
    sysax
    smpatch get:
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source - https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    smpatch analyze:
    119252-15 SunOS 5.10: System Administration Applications Patch
    119081-25 SunOS 5.10: CD-ROM Install Boot Image Patch
    124630-03 SunOS 5.10: System Administration Applications, Network and Core Libraries Patch
    124188-02 SunOS 5.10: Trusted Solaris Attributes Patch
    119315-07 SunOS 5.10: Solaris Management Applications Patch
    121308-08 SunOS 5.10: Solaris Management Console Patch
    119313-10 SunOS 5.10: WBEM Patch
    119534-10 SunOS 5.10: Flash Archive Patch
    119254-34 SunOS 5.10: Install and Patch Utilities Patch
    119963-08 SunOS 5.10: Shared library patch for C++
    120753-03 SunOS 5.10: Microtasking libraries (libmtsk) patch
    123494-03 X11 6.6.2: fontconfig patch
    119812-02 X11 6.6.2: Freetype patch
    125014-02 SunOS 5.10: IP filter patch
    120780-03 SunOS 5.10: ixgb patch
    119764-05 SunOS 5.10 : ipmitool patch
    124258-01 SunOS 5.10: ufs and nfs driver patch
    124252-01 SunOS 5.10: nfssrv patch
    120812-15 OpenGL 1.5: OpenGL Patch for Solaris
    123839-04 SunOS 5.10: Fault Manager Patch
    124204-04 SunOS 5.10: zfs patch
    122911-02 SunOS 5.10: Apache 1.3 Patch
    120543-08 SunOS 5.10: Apache 2 Patch
    117463-04 SunOS 5.10: passwdutil Patch
    118890-03 SunOS 5.10: llib-lc patch
    125024-01 SunOS 5.10: basic audit reporting tool patch
    123908-01 SunOS 5.10: ar patch
    120887-06 SunOS 5.10: cdrw patch
    119580-05 SunOS 5.10: libcpc Patch
    124244-01 SunOS 5.10: /usr/bin/rm patch
    119685-10 SunOS 5.10: svc.startd patch
    124997-01 SunOS 5.10: /usr/bin/tip patch
    121081-06 SunOS 5.10: Connected Customer Agents 1.1.0
    120845-04 SunOS 5.10: auditd patch
    124235-01 SunOS 5.10: libpam.so.1 patch
    120050-05 SunOS 5.10: usermod patch
    122525-03 SunOS 5.10: Sun Fire V445 patch
    124614-01 SunOS 5.10: sconadm proxy: UnknownHostException
    120986-10 SunOS 5.10: mkfs and newfs patch
    125040-01 SunOS 5.10: /usr/lib/inet/in.mpathd patch
    122517-03 SunOS 5.10: Sun Fire V215/V245 platmod patch
    125035-01 SunOS 5.10: libinetsvc.so.1 patch
    123334-04 SunOS 5.10: e1000g_transition patch
    122660-07 SunOS 5.10: zones patch
    119998-02 SunOS 5.10: arp, ip, ipsecah drivers patch
    125026-01 SunOS 5.10: message queue patch
    118371-08 SunOS 5.10: elfsign Patch
    123328-01 SunOS 5.10: expr patch
    123520-01 SunOS 5.10: basename & dirname patch
    123915-01 SunOS 5.10: libcfgadm.so.1 patch
    125018-02 SunOS 5.10: scsi_vhci driver patch
    123912-02 SunOS 5.10: ppriv patch
    118367-04 SunOS 5.10: csh Patch
    125016-01 SunOS 5.10: audit and init patch
    119824-02 SunOS 5.10: prstat patch
    123910-01 SunOS 5.10: platform_sun4v.xml patch
    122255-04 SunOS 5.10: etc/flash/precreation/caplib patch
    123319-01 SunOS 5.10: sysacct patch
    118557-07 SunOS 5.10: platform/sun4u/kernel/drv/sparcv9/su patch
    123271-01 SunOS 5.10: iwscn patch
    124922-02 SunOS 5.10: ld.so.1 patch
    123301-01 SunOS 5.10: i2c_svc patch
    124325-01 SunOS 5.10: rcm modules patch
    121561-04 SunOS 5.10: keymap patch
    124918-02 SunOS 5.10: devfsadm, devlinks, drvconfig patch
    122032-04 SunOS 5.10: Update timezones patch
    124916-03 SunOS 5.10: sd, ssd drivers patch
    121002-03 SunOS 5.10: pax patch
    123252-01 SunOS 5.10: platform/SUNW,Netra-T2000 patch
    122412-01 SunOS 5.10: ipseckey patch
    122408-01 SunOS 5.10: libmtmalloc patch
    120473-02 SunOS 5.10: nss_compat patch
    124254-02 SunOS 5.10: sockfs patch
    124250-03 SunOS 5.10: rpcmod patch
    122752-04 SunOS 5.10: FMA snmp patch
    124999-01 SunOS 5.10: mc-us3 driver patch
    125319-01 SunOS 5.10: rmc_comm patch
    125028-02 SunOS 5.10: pcipsy patch
    118879-02 SunOS 5.10: dhcp daemon patch
    118815-05 SunOS 5.10: awk nawk patch
    121286-04 SunOS 5.10: libfru.so.1 and libfrureg.so.1 patch
    122363-02 SunOS 5.10: fru_container.conf and libfruaccess.so.1 patch
    119974-07 SunOS 5.10: fp plug-in for cfgadm
    120222-15 SunOS 5.10: Emulex-Sun LightPulse Fibre Channel Adapter driver
    119130-33 SunOS 5.10: Sun Fibre Channel Device Drivers
    120182-05 SunOS 5.10: Sun Fibre Channel Host Bus Adapter Library
    120346-06 SunOS 5.10: Common Fibre Channel HBA API Library
    124943-01 SunOS 5.10: SunFreeware gzip man pages patch
    122675-01 SunOS 5.10 : SunFreeware samba man pages patch
    123809-01 SunOS 5.10: rpcsec_gss patch
    121239-02 SunOS 5.10: libgss patch
    120719-02 SunOS 5.10 : SunFreeware gzip patch
    118925-05 SunOS 5.10: unistd header file patch
    124208-01 SunOS 5.10: Trusted Extensions header files patch
    124280-01 SunOS 5.10: libkdb.so.1 patch
    120469-05 SunOS 5.10: kerberos patch
    121006-02 SunOS 5.10: libkadm5 and kadmind patch
    124991-01 SunOS 5.10: llc2 driver patch
    124286-01 SunOS 5.10: chkey core dump
    123186-02 SunOS 5.10: NIS yp utilities patch
    124987-01 SunOS 5.10: ldap_cachemgr patch
    119470-10 SunOS 5.10: Sun Enterprise Network Array firmware and utilities
    122404-01 SunOS 5.10: xntpd patch
    124990-01 SunOS 5.10: Sun-Blade-100 libprtdiag_psr.so.1 patch
    121944-02 SunOS 5.10: libpsvcpolicy and libpsvcpolicy_psr patch
    122537-02 SunOS 5.10: libpiclenvmon.so.1 patch
    123590-02 SunOS 5.10: PostgresSQL patch
    120629-05 SunOS 5.10: libpool patch
    124993-01 SunOS 5.10: in.ndpd patch
    125011-01 SunOS 5.10: sendmail patch
    125022-01 SunOS 5.10: usr/sbin/sar patch
    122376-01 SunOS 5.10: prex patch
    120068-03 SunOS 5.10: in.telnetd patch
    124995-01 SunOS 5.10: ehci driver patch
    121010-05 SunOS 5.10: rpc.metad patch
    124256-01 SunOS 5.10: md_mirror patch
    125075-01 SunOS 5.10: svc-volfs patch
    125073-01 SunOS 5.10: vold patch
    119555-04 SunOS 5.10: Software to support QLogic Ultra3 SCSI host bus adapters
    119090-22 SunOS 5.10: Sun iSCSI Device Driver and Utilities
    120272-06 SunOS 5.10: SMA patch
    124463-02 SunOS sparc : cacao 2.0 patch 02
    119213-11 NSS_NSPR_JSS 3.11.4: NSPR 4.6.4 / NSS 3.11.4 / JSS 4.2.4
    118666-11 J2SE 5.0: update 11 patch (5.0u11)
    118667-11 J2SE 5.0: update 11 patch (5.0u11), 64bit
    122119-05 SunOS 5.10: Patch for Arabic Fonts
    119703-08 SunOS 5.10: Patch for localeadm issues
    123003-02 SunOS 5.10: dependency issue with SUNWopenssl-include
    123630-01 SunOS 5.10: HTTP proxy settings patch
    123005-05 SunOS 5.10: Basic Registration Update
    123011-01 SunOS 5.10: BR desktop icon patch
    119648-03 SunOS 5.10: vlan driver patch
    118777-08 SunOS 5.10: Sun GigaSwift Ethernet 1.0 driver patch
    121118-11 SunOS 5.10: Sun Update Connection System Client 1.0.9
    118712-13 SunOS 5.10: Sun XVR-100 Graphics Accelerator Patch
    120410-17 SunOS 5.10: Internet/Intranet Input Method Framework patch
    121734-05 SunOS 5.10: patch to support addition of new UTF-8 locales
    119810-03 SunOS 5.10: International Components for Unicode Patch
    120099-07 APOC 1.2: Sun Java(tm) Desktop System Configuration Shared Libraries
    119546-07 APOC 1.2: APOC Configuration Agent Patch
    124393-02 CDE 1.6: Dtlogin smf patch
    123611-02 X11 6.6.2: Trusted Extensions patch
    119280-10 CDE 1.6: Runtime library patch for Solaris 10
    119278-12 CDE 1.6: dtlogin patch
    124405-01 CDE1.6: sdtfprop patch
    124403-01 CDE1.6: dtstyle patch
    124401-01 CDE1.6: dtpad patch
    124399-01 CDE1.6: dtfile patch
    125279-01 CDE1.6: dtsession patch
    121977-02 CDE 1.6: dtlogin resources patch
    124397-02 CDE1.6: libDtWidget patch
    124395-01 CDE1.6: dtaction patch
    119117-29 Evolution 1.4.6 patch
    123938-01 GNOME 2.6.0: GNU Transport Layer Security Library Patch
    119418-03 GNOME 2.6.0: Gnome On-screen Keyboard Patch
    119414-13 GNOME 2.6.0: Gnome Accessibility Libraries Patch
    119598-08 GNOME 2.6.0: Gnome Screen Reader and Magnifier Patch
    120454-02 GNOME 2.6.0: Gnome Apoc GConf Adapter Patch
    120460-10 GNOME 2.6.0: Gnome libs Patch
    120284-04 GNOME 2.6.0: GNOME CORBA ORB and component framework
    122212-17 GNOME 2.6.0: GNOME Desktop Patch
    119410-05 GNOME 2.6.0: Gnome Applets Patch
    119540-05 GNOME 2.6.0: Gnome Dtlogin configuration Patch
    119548-07 GNOME 2.6.0: Gnome Multi-protocol instant messaging client Patch
    123162-02 GNOME 2.6.0: Gnome Java Run Time Patch
    120739-03 GNOME 2.6.0: GNOME PDF Viewer based on Xpdf
    119368-05 GNOME 2.6.0: Printing Technology Patch
    121606-02 GNOME 2.6.0: Python patch
    120288-03 GNOME 2.6.0: Gnome terminal Patch
    119906-08 Gnome 2.6.0: Virtual File System Framework patch
    119538-10 GNOME 2.6.0: Window Manager Patch
    119115-23 Mozilla 1.7 patch
    122958-02 GNOME 2.6.0: RealPlayer media application
    119903-02 OpenWindows 3.7.3: Xview Patch
    119059-21 X11 6.6.2: Xsun patch
    125045-01 X11 6.6.2: Xft patch
    124457-01 X11 6.6.2: xdm patch
    showrev -p
    119788-07
    120335-04
    121081-05
    121118-06
    121118-08
    121118-10
    121453-02
    122231-01
    java -version:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    /etc/release:
    Solaris 10 6/06 s10s_u2wos_09a SPARC
    Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 09 June 2006
    /var/sadm/system/admin/CLUSTER:
    CLUSTER=SUNWCall
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid:
    1917645754
    patchsvr setup -l
    Patch source URL: https://getupdates1.sun.com/
    Cache location: /var/sadm/spool/patchsvr
    sysax /tmp: ps -ef | grep cc
    root 2006 2003 0 Feb 22 ? 0:17 /usr/lib/cc-cfw/platform/transport/bin/cctransport
    root 2022 2017 0 Feb 22 ? 0:01 /usr/lib/cc-cfw/platform/fwagent/bin/ccfwagent
    root 2003 1 0 Feb 22 ? 0:00 /bin/sh /usr/lib/cc-cfw/framework/lib/watchdog /usr/lib/cc-cfw/platform/transpo
    root 2013 2010 0 Feb 22 ? 0:01 /usr/lib/cc-cfw/platform/ccragent/bin/ccccragent
    root 2010 1 0 Feb 22 ? 0:00 /bin/sh /usr/lib/cc-cfw/framework/lib/watchdog /usr/lib/cc-cfw/platform/ccragen
    root 2017 1 0 Feb 22 ? 0:00 /bin/sh /usr/lib/cc-cfw/framework/lib/watchdog /usr/lib/cc-cfw/platform/fwagent
    noaccess 1898 1 0 Feb 22 ? 1:02 /usr/jdk/instances/jdk1.5.0/bin/java -server -XX:+BackgroundCompilation -Djava.
    root 8884 5284 0 13:39:27 console 0:00 grep cc
    sysax /tmp:

  • XML Parse issues when using Network Data Model LOD with Springframework 3

    Hello,
    I am having issues with using using NDM in conjuction with Spring 3. The problem is that there is a dependency on the ConfigManager class in that it has to use Oracle's xml parser from xmlparserv2.jar, and this parser seems to have a history of problems with parsing Spring schemas.
    My setup is as follows:
    Spring Version: 3.0.1
    Oracle: 11GR2 and corresponding spatial libraries
    Note that when using the xerces parser, there is no issue here. It only while using Oracle's specific parser which appears to be hard-coded into the ConfigManager. Spring fortunately offers a workaround, where I can force it to use a specific parser when loading the spring configuration as follows:
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl But this is an extra deployment task we'd rather not have. Note that this issue has been brought up before in relation to OC4J. See the following link:
    How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3
    My question is, is there any other way to configure LOD where it won't have the dependency on the oracle parser?
    Also, fyi, here is the exception that is occurring as well as the header for my spring file.
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
    Line 11 in XML document from URL [file:/C:/projects/lrs_network_domain/service/target/classes/META-INF/spring.xml] is invalid;
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         [snip]
         ... 31 more
    Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:331)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)Here is my the header for my spring configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:context="http://www.springframework.org/schema/context"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">Thanks, Tom

    I ran into this exact issue while trying to get hibernate and spring working with an oracle XMLType column, and found a better solution than to use JVM arguments as you mentioned.
    Why is it happening?
    The xmlparserv2.jar uses the JAR Services API (Service Provider Mechanism) to change the default javax.xml classes used for the SAXParserFactory, DocumentBuilderFactory and TransformerFactory.
    How did it happen?
    The javax.xml.parsers.FactoryFinder looks for custom implementations by checking for, in this order, environment variables, %JAVA_HOME%/lib/jaxp.properties, then for config files under META-INF/services on the classpath, before using the default implementations included with the JDK (com.sun.org.*).
    Inside xmlparserv2.jar exists a META-INF/services directory, which the javax.xml.parsers.FactoryFinder class picks up and uses:
    META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines oracle.xml.jaxp.JXDocumentBuilderFactory as the default)
    META-INF/services/javax.xml.parsers.SAXParserFactory (which defines oracle.xml.jaxp.JXSAXParserFactory as the default)
    META-INF/services/javax.xml.transform.TransformerFactory (which defines oracle.xml.jaxp.JXSAXTransformerFactory as the default)
    Solution?
    Switch all 3 back, otherwise you'll see weird errors.  javax.xml.parsers.* fix the visible errors, while the javax.xml.transform.* fixes more subtle XML parsing (in my case, with apache commons configuration reading/writing).
    QUICK SOLUTION to solve the application server startup errors:
    JVM Arguments (not great)
    To override the changes made by xmlparserv2.jar, add the following JVM properties to your application server startup arguments.  The java.xml.parsers.FactoryFinder logic will check environment variables first.
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    However, if you run test cases using @RunWith(SpringJUnit4ClassRunner.class) or similar, you will still experience the error.
    BETTER SOLUTION to the application server startup errors AND test case errors:
    Option 1: Use JVM arguments for the app server and @BeforeClass statements for your test cases.
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
    System.setProperty("javax.xml.parsers.SAXParserFactory","com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
    System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
    If you have a lot of test cases, this becomes painful.
    Option 2: Create your own Service Provider definition files in the compile/runtime classpath for your project, which will override those included in xmlparserv2.jar.
    In a maven spring project, override the xmlparserv2.jar settings by creating the following files in the %PROJECT_HOME%/src/main/resources directory:
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.SAXParserFactory (which defines com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory (which defines com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl as the default)
    These files are referenced by both the application server (no JVM arguments required), and solves any unit test issues without requiring any code changes.
    This is a snippet of my longer solution for how to get hibernate and spring to work with an oracle XMLType column, found on stackoverflow.

Maybe you are looking for

  • Install Solaris 8 on Ultra Sparc 5

    Hello! All I am trying to format my hard Drive which running on Solaris 7 and install Solaris 8. Could someone tell me the step by step process(in detail) to finish this job? Thanks John

  • If you "lose" your arrow keys under KDE4.x, try this ...

    I've been goofing around a lot lately with various manifestations of KDE4.almost2. Somewhere along the way I "lost" my arrow keys. I tried a lot of fiddling around till I finally stumbled on this easy workaround: Go to System Settings / General / Reg

  • Creative Cloud Re-newal Error.

    Hi We bought Creative Cloud in Sept 2013 and now software is asking for a re-newal error.  Can someone help me locate the license details for the software bought.  Deidre 07 34827433

  • Guest network does not work when bridging airport express to extreme

    Hello everyone, i just upgraded my airport extreme 5th gen and airport express (dual band) to 7.6.3 which is supposed to enable guest network extenstion.. my airport extreme is hardwired to airport express (set as bridged mode), eveything works fine

  • All This Talk of ProTools Editing Being Better Than Logic . . . Really?

    OK so I admit, I've never used Pro Tools. But lately there seems to be this chatter about how Pro Tools audio editing capabilities are so superior to Logics. Are they? What am I missing? Logic seems to do everything with audio that there is to do. OK