[Solved]Glassfish's updatetool

Hello,
I can't run updatetool, because I am missing some 32 bit libraries, but IDK what libraries I'm exactly missing. Could anyone help?
[cybuch@MedeiS bin]$ sh updatetool
WX import error. Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team <[email protected]>.
Traceback (innermost last):
File "/home/cybuch/glassfish/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
import wx
File "wx/__init__.py", line 45, in ?
File "wx/_core.py", line 4, in ?
ImportError: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
There was an error running
/home/cybuch/glassfish/updatetool/bin/../../pkg/python2.4-minimal/bin/python
You are running on a 64 bit Linux distribution and the 32 bit Linux
compatibility libraries do not appear to be installed. In order to use
the Update Center tools you must install the 32 bit compatibility libraries.
On Ubuntu (and possibly other Debian based systems) please install the
ia32-libs package. On RedHat 4 (and other RPM based systems), you may
need to add multiple 'compat' runtime library packages. Please see the
Update Center Release Notes for more information
Solution:
Install every package from ImportError. There will be one package that's missing, I've forgotten which one is it, but google about it - you'll have to create a symlink to analogic package.
Last edited by cybuch (2012-10-02 20:00:06)

In my case I also use
RuntimeMaxUse=50M
However my file sizes do seem approximately in step with what is expected from du -sh
$ sudo journalctl --disk-usage
Journals take up 768.0K on disk.
$ du -sh /var/log/journal
780K /var/log/journal
Mind you I recently removed the journal directory to clean out coredumps by stopping the systemd-journald service and then doing the following before rebooting
# rm -fr /var/log/journal
# mkdir /var/log/journal
The files look sensible since doing that.  I have had the journal files corrupted at various times when there has been a system hang and this is easily seen if the journal is verified with
# journalctl --verify
Unless the above shows pass on all files I remove the journal directory entirely to clean it up as I believe that systemd can't clean up corrupted binary journal files.
Maybe the journal disk usage excludes things like coredumps?
Last edited by mcloaked (2013-11-04 19:50:43)

Similar Messages

  • Glassfish 3.0.1 updatetool

    Hello.
    I recently installed the Java EE 6 SDK and included the updatetool during installation. I see there are 3 updates available, but when I attempt to use the updatetool to grab the updates, I get
    Unable to contact valid package server
    Encountered the following error(s):
    Unable to contact any configured publishers. This is likely a network configuration problem.
    Glassfish 3.0.1 is installed. Java SE 1.6.0_22 is installed. McAfee Security Center is installed, but this doesn't cause problems for other software. Any ideas? I seem to be able to connect to the URLs associated with the Repositories listed by the updatetool.
    Thanks.
    Larry
    Update: I turned off the McAfee firewall, and the problem was "solved." Now I guess I'll have to figure out how I can get McAfee to permit access to these package servers without having to shut down the firewall. Ain't life grand?
    Edited by: user8647499 on Nov 13, 2010 3:44 PM

    Post your question at http://www.java.net/forums/glassfish/glassfish, not here.

  • Pet store 2.0 + Netbeans + Glassfish + ubuntu 7.04  install problem solved

    Three days ago I tried to install the javapetstore-2.0-ea5 using the following combination:
    Netbeans 5.5.1
    Glassfish v1
    ubuntu 7.04.
    I am new to java and java EE so I could n' t easily figure out the solutions to the problems that I have faced. Generally, the procedure was easy but there was a problem that i could n' t resolve easily, but after a very close observation. The problem is that the instructions guide to change the file build.properties and specially the directive:
    javaee.server.passwordfile
    It should have as value the path to the password file of glassfish. But here is the problem. The passwordfile in glassfish v1, doesn' t have the following form:
    AS_ADMIN_PASSWORD=<javaeesdk-admin-password>
    but
    AS_ADMIN_ADMINPASSWORD=<javaeesdk-admin-password>
    This results to the failure of the creation fo datasource and jdbcpool for the database of petstore.
    To solve the problem, you just have to change the directive inside the password file, to AS_ADMIN_PASSWORD.

    C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml:468: Deployment error: cannot find FileArchive class...
    See the server log for details.
    BUILD FAILED (total time: 2 seconds)I had the same problem but not with blueprints and I managed to start manually the sun server, clean and build the project and copy the *.war file from the project_folder/dist/ to C:\Sun\SDK\domains\domain1\autodeploy.
    If this doesn't work you could try to reinstall netbeans and java .

  • [SOLVED] Trouble installing glassfish

    I have tried installing glassfish from the AUR but after it said it went all the way to 100%, it says:
    /tmp/alpm_zDmJMR/.INSTALL: line 3:
    error: el comando falló al ejecutarse
    (that's spanish and means: "error: the command failed to execute")
    I did the install via yaourt.
    Well, I the went to netbeans to see if that error was going to affect me and tried to add glassfish server. I gave netbeans the glassfish path: /opt/glassfish and netbeans tells me:
    run setup.xml or setup-cluster.xml before attempting to register
    I'm new to glassfish. I've used it a couple of times but it always was embedded in netbeans. I did a google search for the previous errors and also for installing glassfish in arch but no luck this far.
    Any help will be appreciated
    Last edited by ztrange (2009-09-13 03:15:51)

    Hello ztrange!
    You can post the error output in english firstly too
    Does it work if you install it manually, aurbuild -s or with makepkg without yaourt ?
    Last edited by djszapi (2009-08-30 10:56:39)

  • Eclipse web project using Glassfish 4.1 can not load some libraries in modules directory

    We installed latest "Glassfish Tools for Luna" (updated on 2 October 2013) and created a new Eclipse dynamic web project using Glassfish 4.1. When try to annotate a class with "javax.enterprise.context.ApplicationScoped", it complains as "ApplicationScoped cannot be resolved to a type" although imported as "import javax.enterprise.context.ApplicationScoped".
    Checking "glassfish-4.1/glassfish/modules/" directory and there is cdi-api.jar that contains ApplicationScoped class. But when checking from the project libraries in the eclipse, couldnt see such a jar.
    My configuration:
    Eclipse 4.4
    Glassfish runtime java development kit : java 1.8.0_20
    Project java development kit : java 1.8.0_20
    Project compiler level : 1.8
    Project facets : Dynamic web module 3.1, Java 1.8, Glassfish Web Extensions 4.0, Javascript 1.0
    How to solve this issue?
    Thanks.

    There are 274 jars in the Glassfish 4.0 modules directory, whereas there are 282 jars in the Glassfish 4.1 modules directory. So it is not only cdi-api.jar. Moreover there are some libraries, the names of which have been changed.
    Why not simply importing all libraries in the modules directory to Eclipse, like Tomcat plugin does for tomcat/lib directory? So when manually deploying a library(jar) to modules directory Eclipse will discover it automatically.
    Thanks.

  • Problems starting GlassFish via GlassFish Tools

    Hi everyone,
    I am experiencing problems in starting a GlassFish Server (Open Source Edition 4.1 (build 13)) via GlassFish Tools in Eclipse Luna on my MacBook (OS X Yosemite) as described in these postings. The server is stuck at 69 % on starting up until a TimeoutException appears.
    The problem can be solved though by going back to an older version of GlassFish tools (it seems 7.3.2.20141114 is the last version which is working for me).
    On my Windows PC no such problems occur, even when running GlassFish tools in the latest version.
    Is anyone experiencing similar issues and might provide a hint to fix this?
    I really appreciate any help in this matter .
    Thanks,
    Erun

    Hi Erun
    I have exactly the same configuration and exactly same problem. Do you still remember how did you solve this problem?
    kind regards
    Aliye

  • Error in deploying application in GlassFish

    Hi,
    I'm working on GlassFish server to develop a web service. While deploying the server application i'm encountring an error...
    i issue the following command...
    asadmin deploy user admin passwordfile password host localhost port 4849 contextroot Calculator upload=true --target server /mnt/GlassFish-Applications/Calculator/Calculator.war
    i ain't sure about the option <filepath>
    i got the following error...
    CLI171 Command deploy failed : Unable to find the archive to be deployed in specified location.
    can u help me how to solve this problem..
    Thanks in advance
    regards,
    R VIjay,
    CDAC, Chennai
    INDIA

    Nothing to do with WebLogic JDBC so far...

  • Error when @Singleton in Glassfish v3 and weld. CDI not working for EJBs.

    Hello,
    I am getting the following error when deploying a web app with a SSB with the @Singleton annotation. If I use javax.ejb.Singleton I get the error. If I use @Stateless and @Singleton with javax.inject.Singleton, I don't.
    I use Glassfish v3 with weld.
    [#|2009-12-19T01:29:19.423+0100|SEVERE|glassfish|global|_ThreadID=16;_ThreadName=Thread-1;|The annotation symbol defined in super-class is not compatible with Session ejb ElaphusManager.
    symbol: TYPE location: class com.cervatoh2.elaphus.ejb.ElaphusManagerBean
    By the way,
    what is the right way to install weld into glassfish? To make @Named work I had to treat Glassfish v3 as if it was Tomat:
              <listener>
                        <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
                   </listener>
              <resource-env-ref>
    <description>Object factory for the CDI Bean Manager</description>
    <resource-env-ref-name>BeanManager</resource-env-ref-name>
    <resource-env-ref-type>javax.enterprise.inject.spi.BeanManager</resource-env-ref-type>
    </resource-env-ref>
    And also add weld-servle.jar to /WEB-INF/lib
    isn't Glassfish v3 supposed to have builtin weld support?
    thanks for any directions,
    Ignacio

    Well,
    I think I have understood what the problem is, and maybe also a patch for it.
    I have observed the exact same scenario as you guys.
    I think the problem is exposed by the statement in the status.conf file:
    rwConnStart message=All 1 wget requests did not return a valid vpnserver.conf
    The contents of the vpnserver.conf file in your case is:
    Which I also have observed. Now, I have just had a session, where one of my colleagues have a succesfull connection and I have a failed one. Now, his vpnserver.conf was:
    version=1
    msgtype=configuration
    conn xxxxx_rw
    presharedkey=xxxxxxxxxxxxxxxxxxx
    rightsubnet=xxx.xxx.xxx.xxx/xx
    remotelanip=xxx.xxx.xxx.xxx
    dnsserver=xxx.xxx.xxx.xxx
    domain=
    which is somewhat different. Mine was like the failing one you had. This made me think. The client is supposed to download vpnserver.conf via HTTPS and save it. Sometimes this goes wrong, and I think it is the router software that gets confused.
    It simply thinks you are trying to remote mgmt it and sends you the html to go to the welcome.html page. In my setup I have enabled HTTPS and disbaled Remote MGMT. So it should never ever think it is being remotely managed, but somehow it does that - doh!
    Thus, either the SW on the router is confused/buggy and this causes it to give you a HTML respond instead of the contents of the vpnserver.conf file. Another explanation could be that the wget tool has a problem, when a vpnserver.conf file already exists and then it doesn ensure to force download the file correctly or something.
    Nevertheless, I have two ways to solve this problem:
    1. Rebooting the router has worked for me, but is of course not nice
    2. Delete the local version of vpnserver.conf BEFORE you try to connect.
    The 2nd solution has not yet been verified to work in a broader scale, but we are trying to verify it.
    Please report if this helps you guys.
    Thanks, Jacob

  • File encoding problen (charset) on glassfish / Sun App Server

    Hi all!
    I hope someone here can point me the right way since I am trying to solve my problems for quite some time now. First my setup: Suse Linux Box with Glassfish V2. I am creating files for users of our website with an EnterpriseBean in an EJB-Module. The users are supposed to be able to choose the file encoding themselves. The files are created from lucene index files that are UTF-8 encoded. When writing a result file I use a OutputStreamWriter with a CharsetEncoder Object and the user-chosen encoding. This works perfectly when the result is utf-8 too. But whenever I try to generate ISO-8859-1 files the encoding in the output files is messed up. It's neither utf-8 nor Latin 1 or any other valid encoding. On my development windows machine it seemed to work just fine.
    So thanks in advanve and many greetings from germany!
    Phil

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Where to upload custom JACC provider jar for AS9.1 (Glassfish V2 Beta 1)?

    Hello,
    as I do have some issues with SOAPMessage object on AS9.0U1 as described here: http://forum.java.sun.com/thread.jspa?threadID=5162508
    I'm also trying to duplicate this issue on AS9.1 (Glassfish V2 Beta 1). At the first I need to deploy our custom JACC provider. I've provided correct setup in admin console Configuration -> Security -> JACC providers, I've also switched to use this provider and as I'm used to, I've uploaded JACC provider jar file to the domains/domain1/lib directory. The problem is, it's not working since starting AS9.1 complains about not found class of my provider. As I said, this is exactly how it's working for me on AS9.0U1. Anyway, I've tried to upload the jacc provider jar file to domains/domain1/lib/ext, but then starting AS9.1 complains about missing javax/security/jacc/PolicyContextException. Whole error message in the server log looks like:
    [#|2007-04-20T10:12:52.015+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.objectsecurity.openpmf.jacc.Policy;|SEC1143: Loading policy provider com.objectsecurity.openpmf.jacc.Policy.|#]
    [#|2007-04-20T10:12:52.031+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=822161e0-8f06-433a-b052-fb42afffb14a;|java.lang.reflect.InvocationTargetException
         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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
    Caused by: java.lang.NoClassDefFoundError: javax/security/jacc/PolicyContextException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:133)
         at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:96)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:240)
         at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
         ... 5 more
    Please note that com.objectsecurity.openpmf.jacc.Policy is a Policy provider of our own JACC provider.
    My question is: where exactly to upload JACC provider jar file in order to have it working correctly?
    Thanks!
    Karel

    Did you solve this problem? I've been spinning my head over this. I reinstalled my jdk, reinstalled glassfish, and updated my java.policy file and I still get the same problem.

  • Revised product name: "Oracle GlassFish Enterprise Message Queue"

    Hello,
    the release notes for OpenMQ 4.5 build 16 include a note about a revised product name, "Oracle GlassFish Enterprise Message Queue". Is this planned to be the future product name for the commercial product (the product formerly known as Java System Message Queue), or is this meant to be the name for both versions?
    Many thanks in advance,
    Michael Justin
    Edited by: 801285 on 10.10.2010 01:49

    Hi all,
    I have finally solved the problem, it seems somehow on my windows home premium I can't run the install script (on H:\ ) from the command line. I manually ran the batch script by double clicking on it, it ran fine and I was finally able to install ORE (server + supported + client) on my laptop. Now the connection -- followed through the manual, created user and granted all the roles. Now that I want to test the connection, I open R console and below are the input and output error message though it seems I can connect to the database:
    R>
    R> library(ORE)
    Loading required package: OREbase
    Attaching package: ‘OREbase’
    The following object(s) are masked from ‘package:base’:
        cbind, data.frame, eval, interaction, order, paste, pmax, pmin, rbind, table
    Loading required package: OREstats
    Loading required package: MASS
    Loading required package: OREgraphics
    Loading required package: OREeda
    Loading required package: OREdm
    Loading required package: lattice
    Loading required package: OREpredict
    Loading required package: ORExml
    R>
    R>
    R>
    R> ore.connect(user = 'scott', sid = 'sinha', host = 'win7', password = 'tiger', port = 1521, all = T)
    Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch,  :
      ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    ORA-06512: at "RQSYS.RQEVALIMPL", line 17
    ORA-06512: at "RQSYS.RQEVALIMPL", line 14
    ORA-06512: at line 4
    R>
    R>
    R> ore.is.connected()
    [1] TRUE
    R> I get the exact same error when I try to use even the ORE user "rquser". Any suggestion how to resolve this error?
    Thanks,
    Sourabh

  • RMI Cache coordination on Glassfish 2.x and Eclipselink 1.2

    We are trying to get eclipseLink shared cache working on Glassfish. As of Eclipselink 1.2 this can be done in the persistence.xml and we have added the following properties. where $host is the ip addesss of the server. We have no authentication setup so have not set the username and password properites.
    <property name="eclipselink.cache.coordination.protocol" value="rmi" />
    <property name="eclipselink.cache.coordination.rmi.url" value="rmi://$host:9037" />
    <property name="eclipselink.cache.coordination.rmi.announcement-delay" value="1000" />
    <property name="eclipselink.cache.coordination.rmi.multicast-group" value="224.0.0.2" />
    <property name="eclipselink.cache.coordination.rmi.multicast-group.port" value="3121" />
    <property name="eclipselink.cache.coordination.packet-time-to-live" value="2" />
    <property name="eclipselink.cache.coordination.jndi.initial-context-factory" value="com.sun.enterprise.naming.SerialInitContextFactory" />
    <property name="eclipselink.cache.coordination.remove-connection-on-error" value="true" />
    <property name="eclipselink.cache.coordination.propagate-asynchronously" value="false" />
    <property name="eclipselink.cache.coordination.naming-service" value="0" />
    From what I have read this should work, but we are getting the following error.
    [#|2010-07-16T09:10:11.782+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.core.naming|_ThreadID=14;_ThreadName=Thread-30;_RequestID=6a82e16c-773b-4582-aa06-9415c99d721a;|NAM0002:
    Exception in NamingManagerImpl copyMutableObject().
    java.io.NotSerializableException:
    org.eclipse.persistence.sessions.coordination.RemoteCommandManager
    at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    at
    com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:64)
    at
    com.sun.enterprise.naming.LocalSerialContextProviderImpl.rebind(LocalSerialContextProviderImpl.java:105)
    at
    com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:503)
    at javax.naming.InitialContext.rebind(InitialContext.java:408)
    at
    org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInJNDI(RMITransportManager.java:150)
    at
    org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnection(RMITransportManager.java:128)
    at
    org.eclipse.persistence.sessions.coordination.DiscoveryManager.run(DiscoveryManager.java:197)
    at java.lang.Thread.run(Thread.java:619)
    |#]
    [#|2010-07-16T09:10:11.796+0200|WARNING|sun-appserver2.1|org.eclipse.persistence.session.file:/|_ThreadID=14;_ThreadName=Thread-30;_RequestID=6a82e16c-773b-4582-aa06-9415c99d721a;|
    Local Exception Stack:
    Exception [EclipseLink-22102] (Eclipse Persistence Services -
    2.0.0.v20090725-r4721):
    org.eclipse.persistence.exceptions.RemoteCommandManagerException
    Exception Description: Could not post connection in local naming service
    under name Service[EclipseLinkCommandChannel,
    e97d5543-56ba-4ded-9d23-7f5dad7a6dc8, rmi://172.17.2.115:9037]
    Internal Exception: java.lang.RuntimeException: Cant copy Serializable
    object:
    at
    org.eclipse.persistence.exceptions.RemoteCommandManagerException.errorBindingConnection(RemoteCommandManagerException.java:87)
    at
    org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInJNDI(RMITransportManager.java:153)
    at
    org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnection(RMITransportManager.java:128)
    at
    org.eclipse.persistence.sessions.coordination.DiscoveryManager.run(DiscoveryManager.java:197)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: Cant copy Serializable object:
    at
    com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:82)
    at
    com.sun.enterprise.naming.LocalSerialContextProviderImpl.rebind(LocalSerialContextProviderImpl.java:105)
    at
    com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:503)
    at javax.naming.InitialContext.rebind(InitialContext.java:408)
    at
    org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInJNDI(RMITransportManager.java:150)
    ... 3 more
    Caused by: java.io.NotSerializableException:
    org.eclipse.persistence.sessions.coordination.RemoteCommandManager
    at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    at
    com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:64)
    ... 7 more
    |#]I suspect that it is not connecting, because I get a similar error if I choose an invalid port for the url. The IP is correct and the port 9037 is setup as the IIOP port in Glassfish.
    Any ideas on how to solve this?

    Hi Bob
    Thank you for your kind input.
    I'm using a Sonnet D800 which has eSata cables. Here are my 'Raid Properties' below. There are various 'Scan' options on the Raid but I'm scared to touch them in case they affect all my captured video I'm working with!
    Raid Type: RAID5
    Capacity 5.46TB
    Members: 7
    Partitions: 1
    Mirrors: None
    Interleave: 128KB
    Sector Size:512 bytes
    Drives: 8
    Faulted: 0
    Raid Groups: 1
    Hot Spares: 1
    Features:
    Speed Read - Always
    Rebuild Priority - Same
    Prefetch: 0
    Auto Rebuild: Yes
    I'm using a:
    2 x 2.66 GHz Quad-Core Intel Xeon
    8 GB 1066 MHz DDR3 ATI Radeon HD 4870
    Mac OXX (10.5.7)
    From Wiki "Raid 5": 'Striped set with distributed parity or interleave parity. Distributed parity requires all drives but one to be present to operate; drive failure requires replacement, but the array is not destroyed by a single drive failure. Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive. A single drive failure in the set will result in reduced performance of the entire set until the failed drive has been replaced and rebuilt.'
    I might contact Sonnet and request how I might perform a scan to ensure it's all working normally.
    I haven't tried FCP Rescue yet (downloading it now) but had successfully manually Trashed my Preferences several times.
    I have searched for Caffeine but can't seem to locate it - can you name some search terms so I might be able to find it in a search engine please?
    "The mac (like Windows) doesn't seem to understand that CPU usage = use, verse just cursor/keyboard movements." -- you never know, this might well be the problem, something as simple as a keyboard assignment for a quick triple tap of J or L for fast rewind or fast forward in the FCP viewer?

  • GlassFish MySQL datapool not working

    Hello, I don't know if I am in right topic with this question but I have a problem which I can't solve.
    So. I have installed the lastest version of GlassFish and I wanna create new datapool using MySQL.
    But when I create it and then I ping it, it shows me this error:
    Ping Connection Pool failed for Testing. Connection could not be allocated because: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused: connect STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2569) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:425) at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:140) at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:110) at com.mysql.jdbc.jdbc2.opt .... msg.seeServerLog
    I really need to help please.

    I had this problem before in using PHP data services. The fix for my problem was to edit the file amf_config.ini
    to set the zend_path =C:\www\ZendFramework\library
    This tells Flex where to find your ZendFramework library which makes your PHP data connection for your flex code.
    You may also need to set the webroot as in webroot =C:/www/flex4/DBWorkspace/DBaccess
    The webroot should be the path to your current project workspace.
    The amf_config.ini file is listed under Flash Builder's package exlporer in bin-debug then services.
    I hope this helps, it solved my problems.

  • Glassfish v3 ClassCastException for same class, at a List.get() command.

    Hello everyone,
    I am in the process of developing a small web application with JSF 2.0 and JPA, both of which I am not entirely familiar with. But thanks to Google and a lot of very dedicated experts, the Java and JSF forums have helped me with creating a basic form for entering and storing data. I am using Netbeans 6.8 which has glassfish V3 for the app server. However I have a problem where the auto-deploy in glass fish ends up giving me a ClassCastException for the same class, which after a bit of research on the net, seems to be a classloader problem.
    A related link http://72.5.124.102/thread.jspa?messageID=10119180 probably confirms the cause as a hot-deploy issue.
    My JSF page is created dynamically in the constructor of the managed bean, and it is here that I get the exception occasionally. A restart of the server solves the issue. Nevertheless, I would like to know if there is any other way to solve the classloader problem other than using a build.xml file as suggested in the forum link given above.
    I am posting a part of my code as well, so that if you think there a classloader problem in my code, you can let me know, so I can fix it.
    @ManagedBean(name = "CustomFields")
    @RequestScoped
    public class CustomFields {
        private String tableName;
        private List<UiSetup> dispFieldsList = new ArrayList();
        private HtmlPanelGrid customPanelSec = new HtmlPanelGrid();
        public HtmlPanelGrid getCustomPanelSec() {
            return customPanelSec;
        public void setCustomPanelSec(HtmlPanelGrid customPanelSec) {
            this.customPanelSec = customPanelSec;
        public String getTableName() {
            return tableName;
        public void setTableName(String tableName) {
            this.tableName = tableName;
        public CustomFields() {
            System.out.println("Invoked customFields backing bean");
            String callerBean = "";
            FacesContext context = FacesContext.getCurrentInstance();
            Application application = context.getApplication();
            tableName = context.getExternalContext().getRequestParameterMap().get("callerPage");
            callerBean = context.getExternalContext().getRequestParameterMap().get("backingBean");
            // This is a JPA contoller class for an entity that defines the custom fields that have to be enabled for this page.
            UiSetupJpaController fldsToShow = new UiSetupJpaController();
            dispFieldsList.clear();
            System.out.println("Did this1");
            // This function getDisplayFields gets the fields that have to be shown on the page.
            this.dispFieldsList = fldsToShow.getDisplayFields(tableName);
            System.out.println("Did this2");
            int totFields = this.dispFieldsList.size();
            System.out.println("Did this3");
            UiSetup us = this.dispFieldsList.get(totFields - 1);// This is where the error is thrown always.
            System.out.println("Did this4");
            customPanelSec.getChildren().clear();
            for (int i = 0; i < totFields; i++) {
                try {
                    HtmlPanelGrid fldLblGroup = new HtmlPanelGrid();
                    HtmlOutputLabel customLabel = (HtmlOutputLabel) application.createComponent(HtmlOutputLabel.COMPONENT_TYPE);
                    String labelName = dispFieldsList.get(i).getDisplayName();
                    customLabel.setValue(labelName);
                    String fieldName = dispFieldsList.get(i).getFieldName();
                    HtmlPanelGroup customField = (HtmlPanelGroup) application.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
                    HtmlInputText customText = new HtmlInputText();
                    String valExp = "#{" + callerBean + "." + fieldName + "}";
                    customText.setId(fieldName);
                    customText.setValueExpression("value", createValueExpr(valExp, BigDecimal.class, context));
                    customField.getChildren().clear();
                    customField.getChildren().add(customText);
                    customPanelSec.getChildren().add(customLabel);
                    customPanelSec.getChildren().add(customField);
                }catch (Exception e) {
                    System.out.println(e.getMessage());
        private ValueExpression createValueExpr(String valexp, Class cls, FacesContext fcs) {
            return fcs.getApplication().getExpressionFactory().createValueExpression(fcs.getELContext(), valexp, cls);
    }The error message is as follows
    com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: karma.com.managedbeans.master.CustomFields.
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:193)
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:102)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:267)
    Caused by: java.lang.ClassCastException: karma.com.model.ui.UiSetup cannot be cast to karma.com.model.ui.UiSetup
    at karma.com.managedbeans.master.CustomFields.<init>(CustomFields.java:397)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:188)
    ... 82 moreRegards,
    Swati

    Thanks very much for your reply. I have implemented your suggestion of using a PostConstruct method with the @ManagedProperty to inject the values into the tableName and the callerBean properties. The good news is that the page is rendered correctly and I haven't encountered the exception the few times that I invoked the page.
    However, I can't be sure the issue is resolved, since, like I mentioned, the error is seemingly erratic and I don't quite know if it is not seen because of a genuine fix or because, well, its currently not in a mood to show up.
    There is just one more thing I would like to mention. I have said that the code fails at the List.get() line. However, its not happening because the list is empty. In fact the earlier lines are giving expected outputs and totFields value is set all right. Maybe this has nothing to do with the error, but I thought I will mention it all the same, in case it triggers another idea altogether.
    Thanks very much
    Regards
    Swati

  • Glassfish error in server log related to APEX application

    Oracle EE 11gR1
    Red Hat Linux 5.4
    ============
    This error is not reproducible but has occurred more than once...
    Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Any ideas what might be causing this issue (found in the Glassfish server log -- the entire error is below)? Is this an APEX internal error or an APEX application error? (looks internal to me)
    p:118:14:1666724140442501:::::PAGE CALL:
    declare
    nlns number := 999999;
    l_clob CLOB;
    lines htp.htbuf_arr;
    l_buff varchar2(32767);
    l_clob_init boolean:= false;
    l_file varchar2(5);
    begin
    OWA.GET_PAGE(lines, nlns);
    if (nlns > 1) then
    for i in 1..nlns loop
    if ( length(lines(i)) > 0 ) then
    if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
    if (NOT l_clob_init) then
    dbms_lob.createtemporary(l_clob, TRUE);
    dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
    l_clob_init:=true;
    end if;
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := lines(i);
    else
    l_buff := l_buff || lines(i);
    end if;
    end if;
    end loop;
    end if;
    if (l_clob_init) then
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := '';
    end if;
    ? := l_clob;
    ? := l_buff;
    if (wpg_docload.is_file_download) then l_file:='TRUE'; else l_file := 'FALSE'; end if; ? := l_file;
    end;
    get_page FAILED:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 32
    Thanks.

    Hi Satendra,
    Is upgradation the only solution?No, it is one of the better options (and my personal suggestion) as PS2 release is more stable and has many more functionalities and features than PS1. The error which you are getting may be due to a corrupt installation. In case you want to solve this error only and do not want to go for upgrade, then feel free to raise a case with support.
    Regards,
    Anuj

Maybe you are looking for